php-src/Zend/tests/flexible-heredoc-error4.phpt

15 lines
253 B
Plaintext
Raw Normal View History

--TEST--
Flexible heredoc syntax error 4: not enough body indentation
--FILE--
<?php
echo <<<END
a
b
c
END;
?>
--EXPECTF--
Parse error: Invalid body indentation level (expecting an indentation level of at least 5) in %s on line %d