Fix bug77812-*.phpt

Undefined constants error as of PHP 8.0.0.
This commit is contained in:
Christoph M. Becker 2019-08-23 14:49:50 +02:00
parent aa3f9c5f1c
commit 9f14eb114b
2 changed files with 8 additions and 2 deletions

View File

@ -29,6 +29,9 @@ bar
xx
xxx
Warning: Use of undefined constant FOO - assumed 'FOO' (this will throw an Error in a future version of PHP) in php shell code on line %d
Warning: Uncaught Error: Undefined constant 'FOO' in php shell code:1
Stack trace:
#0 {main}
thrown in php shell code on line 1
FOOL1
FOO42

View File

@ -40,7 +40,10 @@ xxx
php > FOO
php > ;
Warning: Use of undefined constant FOO - assumed 'FOO' (this will throw an Error in a future version of PHP) in php shell code on line %d
Warning: Uncaught Error: Undefined constant 'FOO' in php shell code:1
Stack trace:
#0 {main}
thrown in php shell code on line 1
php > echo <<<FOO
<<< > FOOL
<<< > FOO