php-src/Zend/tests/flexible-heredoc-error7.phpt
2018-10-15 05:04:29 +02:00

12 lines
353 B
PHP

--TEST--
Flexible heredoc syntax error 7: no ending token
--DESCRIPTION--
Note: the closing ?> has been deliberately elided.
--FILE--
<?php
echo <<<END
--EXPECTF--
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in %s on line %d