summaryrefslogtreecommitdiff
path: root/Zend/tests/flexible-heredoc-error6.phpt
blob: c2daa72207af362571eb956905b43b497f1aa6bf (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Flexible heredoc syntax error 6: no ending token on 0 length body
--DESCRIPTION--
Note: the closing ?> has been deliberately elided.
--FILE--
<?php

echo <<<END
--EXPECTF--
Parse error: syntax error, unexpected end of file in %s on line %d