summaryrefslogtreecommitdiff
path: root/Zend/tests/flexible-heredoc-error11.phpt
blob: 3e71cbd684d26ba2218610f61b958e74e272baef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Flexible heredoc syntax error 11: show erroneous line in error message (variable interpolation)
--FILE--
<?php

echo <<<END
 a
$a
 END;

?>
--EXPECTF--
Parse error: Invalid body indentation level (expecting an indentation level of at least 1) in %s on line 5