diff options
author | Marcus Boerger <helly@php.net> | 2009-01-01 16:22:44 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2009-01-01 16:22:44 +0000 |
commit | 480fccce37f20ae81d3a48b88020634d6be88a87 (patch) | |
tree | a1902ad76855babe252c47e8e3d11389b6bedb2a /Zend/tests/closure_026.phpt | |
parent | 41cc091141ead33cfe766bc56e7bae56c2bb5543 (diff) | |
download | php-git-480fccce37f20ae81d3a48b88020634d6be88a87.tar.gz |
- MFH Add var_dump support for closures
Diffstat (limited to 'Zend/tests/closure_026.phpt')
-rw-r--r-- | Zend/tests/closure_026.phpt | 29 |
1 files changed, 27 insertions, 2 deletions
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) |