]> granicus.if.org Git - php/commitdiff
Wrong expectation in test (for some reason backtrace misses gc_collect_cycles() call)
authorDmitry Stogov <dmitry@zend.com>
Mon, 7 Jul 2014 13:17:42 +0000 (17:17 +0400)
committerDmitry Stogov <dmitry@zend.com>
Mon, 7 Jul 2014 13:17:42 +0000 (17:17 +0400)
Zend/tests/gc_030.phpt

index ef044e0f03e6d84713977aee8e1d08936b62a5a5..4dff71a3bf8a48e2f583c64ae0045cc8ac168d76 100644 (file)
@@ -28,6 +28,7 @@ Stack trace:
 
 Next exception 'Exception' with message 'foobar' in %sgc_030.php:%d
 Stack trace:
-#0 %sgc_030.php(%d): foo->__destruct()
-#1 {main}
+#0 [internal function]: foo->__destruct()
+#1 %sgc_030.php(%d): gc_collect_cycles()
+#2 {main}
   thrown in %sgc_030.php on line %d