closure_034.phpt 238 B

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