xref: /PHP-5.4/Zend/tests/closure_034.phpt (revision fa762634)
1--TEST--
2Closure 033: Recursive var_dump on closures
3--FILE--
4<?php
5
6$a = function () use(&$a) {};
7var_dump($a);
8
9?>
10===DONE===
11--EXPECTF--
12object(Closure)#%d (1) {
13  ["static"]=>
14  array(1) {
15    ["a"]=>
16    *RECURSION*
17  }
18}
19===DONE===
20