summaryrefslogtreecommitdiff
path: root/Zend/tests/grammar/bug78441.phpt
blob: af05ecf1d8921a9887aca8a8692cef388e00139f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--TEST--
Bug #78441 (Parse error due to heredoc identifier followed by digit)
--FILE--
<?php
echo <<<FOO
FOO4
FOO, PHP_EOL;

echo <<<FOO
bar
FOO4
FOO, PHP_EOL;

echo <<<'FOO'
bar
FOO4
FOO, PHP_EOL;
?>
--EXPECT--
FOO4
bar
FOO4
bar
FOO4