From 2f316a775d8d5dd08f1a26cfda6e9e1fce910f52 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 7 Jul 2014 17:17:42 +0400 Subject: [PATCH] Wrong expectation in test (for some reason backtrace misses gc_collect_cycles() call) --- Zend/tests/gc_030.phpt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Zend/tests/gc_030.phpt b/Zend/tests/gc_030.phpt index ef044e0f03..4dff71a3bf 100644 --- a/Zend/tests/gc_030.phpt +++ b/Zend/tests/gc_030.phpt @@ -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 -- 2.40.0