summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-08-21 16:15:01 +0400
committerDmitry Stogov <dmitry@zend.com>2014-08-21 16:15:01 +0400
commitb0a54673f47caaf20b9f163da3c422e0f47d5655 (patch)
treee52db991ada1c9af36fee48823a923405be0b3f4
parent16b4d90fa99ef656557d1cb83609dda542f36637 (diff)
downloadphp-git-b0a54673f47caaf20b9f163da3c422e0f47d5655.tar.gz
Fixed wrong test. Value of the static property must not be changed to string.
-rw-r--r--Zend/tests/bug60825.phpt9
1 files 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){
+}