mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
18 lines
216 B
PHP
18 lines
216 B
PHP
--TEST--
|
|
Closure 033: Recursive var_dump on closures
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = function () use(&$a) {};
|
|
var_dump($a);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
object(Closure)#%d (1) {
|
|
["static"]=>
|
|
array(1) {
|
|
["a"]=>
|
|
*RECURSION*
|
|
}
|
|
}
|