From 480fccce37f20ae81d3a48b88020634d6be88a87 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 1 Jan 2009 16:22:44 +0000 Subject: - MFH Add var_dump support for closures --- Zend/tests/closure_026.phpt | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'Zend/tests/closure_026.phpt') diff --git a/Zend/tests/closure_026.phpt b/Zend/tests/closure_026.phpt index f9e6bd5e25..87829a33a2 100644 --- a/Zend/tests/closure_026.phpt +++ b/Zend/tests/closure_026.phpt @@ -32,7 +32,18 @@ object(foo)#%d (1) { ["a"]=> array(1) { [0]=> - object(Closure)#%d (0) { + object(Closure)#%d (1) { + ["this"]=> + object(foo)#%d (1) { + ["a"]=> + array(1) { + [0]=> + object(Closure)#%d (1) { + ["this"]=> + *RECURSION* + } + } + } } } } @@ -41,7 +52,21 @@ int(1) string(1) "a" array(1) { [0]=> - object(Closure)#%d (0) { + object(Closure)#%d (1) { + ["this"]=> + object(foo)#%d (1) { + ["a"]=> + array(1) { + [0]=> + object(Closure)#%d (1) { + ["this"]=> + object(foo)#%d (1) { + ["a"]=> + *RECURSION* + } + } + } + } } } int(1) -- cgit v1.2.1