]> granicus.if.org Git - php/commitdiff
Fixed test
authorXinchen Hui <laruence@gmail.com>
Fri, 6 May 2016 02:51:38 +0000 (10:51 +0800)
committerXinchen Hui <laruence@gmail.com>
Fri, 6 May 2016 02:51:38 +0000 (10:51 +0800)
Zend/tests/bug72162.phpt

index 3cd12dea2159fb88d1e80d39dc4a215ffcff4834..5902c585d8b75c3e622aafbf94acada7a5acaa46 100644 (file)
@@ -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