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

echo <<<END
 a
b
 END;

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