diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-08-21 16:15:01 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-08-21 16:15:01 +0400 |
commit | b0a54673f47caaf20b9f163da3c422e0f47d5655 (patch) | |
tree | e52db991ada1c9af36fee48823a923405be0b3f4 | |
parent | 16b4d90fa99ef656557d1cb83609dda542f36637 (diff) | |
download | php-git-b0a54673f47caaf20b9f163da3c422e0f47d5655.tar.gz |
Fixed wrong test. Value of the static property must not be changed to string.
-rw-r--r-- | Zend/tests/bug60825.phpt | 9 |
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){ +} |