com php-src: Fixed test: Zend/tests/bug72162.phpt

From: Date: Fri, 06 May 2016 02:51:38 +0000
Subject: com php-src: Fixed test: Zend/tests/bug72162.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92037@lists.php.net to get a copy of this message
Commit: 080f6b10ecf6af557e8dc1732eb154a916cf6838 Author: Xinchen Hui <laruence@gmail.com> Fri, 6 May 2016 10:51:38 +0800 Parents: 441d1b8ef07c5dc7f5a7fada46d829eed21ed4bc Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=080f6b10ecf6af557e8dc1732eb154a916cf6838 Log: Fixed test Changed paths: M Zend/tests/bug72162.phpt Diff: diff --git a/Zend/tests/bug72162.phpt b/Zend/tests/bug72162.phpt index 3cd12de..5902c58 100644 --- a/Zend/tests/bug72162.phpt +++ b/Zend/tests/bug72162.phpt @@ -2,10 +2,9 @@ Bug #72162 (use-after-free - error_reporting) --FILE-- <?php -error_reporting(1); +error_reporting(E_ALL); $var11 = new StdClass(); $var16 = error_reporting($var11); ?> -okey ---EXPECT-- -okey +--EXPECTF-- +Catchable fatal error: Object of class stdClass could not be converted to string in %sbug72162.php on line %d

« previous php.cvs (#92037) next »