From b0a54673f47caaf20b9f163da3c422e0f47d5655 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 21 Aug 2014 16:15:01 +0400 Subject: [PATCH] Fixed wrong test. Value of the static property must not be changed to string. --- Zend/tests/bug60825.phpt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Zend/tests/bug60825.phpt b/Zend/tests/bug60825.phpt index 0aeb8f77e3..f2f5b602ad 100644 --- a/Zend/tests/bug60825.phpt +++ b/Zend/tests/bug60825.phpt @@ -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){ +} -- 2.40.0