xref: /PHP-8.3/Zend/tests/grammar/bug78441.phpt (revision 31070884)
1--TEST--
2Bug #78441 (Parse error due to heredoc identifier followed by digit)
3--FILE--
4<?php
5echo <<<FOO
6FOO4
7FOO, PHP_EOL;
8
9echo <<<FOO
10bar
11FOO4
12FOO, PHP_EOL;
13
14echo <<<'FOO'
15bar
16FOO4
17FOO, PHP_EOL;
18?>
19--EXPECT--
20FOO4
21bar
22FOO4
23bar
24FOO4
25