com php-src: Fix failing test: Zend/tests/bug77738.phpt

From: Date: Thu, 14 Mar 2019 19:41:19 +0000
Subject: com php-src: Fix failing test: Zend/tests/bug77738.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105150@lists.php.net to get a copy of this message
Commit: c02a03b49bd1ac365d5fe84282f005689c26b47e Author: Peter Kokot <peterkokot@gmail.com> Thu, 14 Mar 2019 20:41:19 +0100 Parents: 160f3636db3a796a643d078d860f718238c90fd7 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c02a03b49bd1ac365d5fe84282f005689c26b47e Log: Fix failing test Since aad39879f2d2e89de105c4f87d334ee129b4321c accessing undefined constants always throws an Error exception. Changed paths: M Zend/tests/bug77738.phpt Diff: diff --git a/Zend/tests/bug77738.phpt b/Zend/tests/bug77738.phpt index e3a453c..c664a31 100644 --- a/Zend/tests/bug77738.phpt +++ b/Zend/tests/bug77738.phpt @@ -5,4 +5,7 @@ Bug #77738 (Nullptr deref in zend_compile_expr) __COMPILER_HALT_OFFSET__; ; // <- important --EXPECTF-- -Warning: Use of undefined constant __COMPILER_HALT_OFFSET__ - assumed '__COMPILER_HALT_OFFSET__' %sbug77738.php on line %d +Fatal error: Uncaught Error: Undefined constant '__COMPILER_HALT_OFFSET__' in %s:%d +Stack trace: +#0 {main} + thrown in %s on line %d

« previous php.cvs (#105150) next »