diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-05-06 10:51:38 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-05-06 10:51:38 +0800 |
commit | 080f6b10ecf6af557e8dc1732eb154a916cf6838 (patch) | |
tree | a7ca761d17b8aa28794e92e631c9f7769ef70bea | |
parent | 441d1b8ef07c5dc7f5a7fada46d829eed21ed4bc (diff) | |
download | php-git-080f6b10ecf6af557e8dc1732eb154a916cf6838.tar.gz |
Fixed test
-rw-r--r-- | Zend/tests/bug72162.phpt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Zend/tests/bug72162.phpt b/Zend/tests/bug72162.phpt index 3cd12dea21..5902c585d8 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 |