mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fix bug77812-*.phpt
Undefined constants error as of PHP 8.0.0.
This commit is contained in:
parent
aa3f9c5f1c
commit
9f14eb114b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user