com php-src: Fix bug77812-*.phpt: ext/readline/tests/bug77812-libedit.phpt ext/readline/tests/bug77812-readline.phpt

From: Date: Fri, 23 Aug 2019 12:49:50 +0000
Subject: com php-src: Fix bug77812-*.phpt: ext/readline/tests/bug77812-libedit.phpt ext/readline/tests/bug77812-readline.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108006@lists.php.net to get a copy of this message
Commit: 9f14eb114b4edc62581b941c1eba898caab52759 Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 23 Aug 2019 14:49:50 +0200 Parents: aa3f9c5f1c9db3ea3107a3b6d9975f0f3f7b1dd2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9f14eb114b4edc62581b941c1eba898caab52759 Log: Fix bug77812-*.phpt Undefined constants error as of PHP 8.0.0. Bugs: https://bugs.php.net/77812 Changed paths: M ext/readline/tests/bug77812-libedit.phpt M ext/readline/tests/bug77812-readline.phpt Diff: diff --git a/ext/readline/tests/bug77812-libedit.phpt b/ext/readline/tests/bug77812-libedit.phpt index 478274a..0c68a2d 100644 --- a/ext/readline/tests/bug77812-libedit.phpt +++ b/ext/readline/tests/bug77812-libedit.phpt @@ -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 diff --git a/ext/readline/tests/bug77812-readline.phpt b/ext/readline/tests/bug77812-readline.phpt index 32d9f4d..a3917cc 100644 --- a/ext/readline/tests/bug77812-readline.phpt +++ b/ext/readline/tests/bug77812-readline.phpt @@ -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

« previous php.cvs (#108006) next »