xref: /PHP-8.2/Zend/tests/closure_034.phpt (revision a555cc0b)
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--EXPECTF--
11object(Closure)#%d (1) {
12  ["static"]=>
13  array(1) {
14    ["a"]=>
15    *RECURSION*
16  }
17}
18