php-8.0.30-src/Zend/tests/flexible-nowdoc-error7.phpt

12 lines
285 B
PHP

--TEST--
Flexible nowdoc 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 or heredoc end or "${" or "{$" in %s on line %d