]> granicus.if.org Git - php/commitdiff
Fixed wrong test. Value of the static property must not be changed to string.
authorDmitry Stogov <dmitry@zend.com>
Thu, 21 Aug 2014 12:15:01 +0000 (16:15 +0400)
committerDmitry Stogov <dmitry@zend.com>
Thu, 21 Aug 2014 12:15:01 +0000 (16:15 +0400)
Zend/tests/bug60825.phpt

index 0aeb8f77e33b53aafb9b67c81bd683d0911d7898..f2f5b602ad385c8b1ee9cace80d85e664960733b 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #60825 (Segfault when running symfony 2 tests)
+Bug #60825 (Segfault when running symfony 2 tests) (PHP7)
 --DESCRIPTION--
 run this with valgrind
 --FILE--
@@ -13,7 +13,10 @@ class test {
 }
 $a = new test;
 require_once $a;
-debug_zval_dump(test::$x);
+debug_zval_dump($a, test::$x);
 ?>
 --EXPECTF--
-string(%d) "%sbug60825.php" refcount(2)
+object(test)#%d (0) refcount(%d){
+}
+object(test)#%d (0) refcount(%d){
+}