com php-src: Fixed wrong test. Value of the static property must not be changed to string.: Zend/tests/bug60825.phpt
| From: | Dmitry Stogov | Date: | Thu, 21 Aug 2014 12:15:01 +0000 |
| Subject: | com php-src: Fixed wrong test. Value of the static property must not be changed to string.: Zend/tests/bug60825.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80679@lists.php.net to get a copy of this message | ||
Commit: b0a54673f47caaf20b9f163da3c422e0f47d5655
Author: Dmitry Stogov <dmitry@zend.com> Thu, 21 Aug 2014 16:15:01 +0400
Parents: 16b4d90fa99ef656557d1cb83609dda542f36637
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b0a54673f47caaf20b9f163da3c422e0f47d5655
Log:
Fixed wrong test. Value of the static property must not be changed to string.
Changed paths:
M Zend/tests/bug60825.phpt
Diff:
diff --git a/Zend/tests/bug60825.phpt b/Zend/tests/bug60825.phpt
index 0aeb8f7..f2f5b60 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){
+}