php-src/ext/spl/tests/array_027.phpt
2010-04-03 15:42:42 +00:00

19 lines
260 B
PHP

--TEST--
SPL: ArrayObject revursive var_dump
--FILE--
<?php
class AO extends ArrayObject {
}
$o = new AO();
$o['plop'] = $o;
var_dump($o);
--EXPECTF--
object(AO)#%d (1) {
["storage":"ArrayObject":private]=>
array(1) {
["plop"]=>
*RECURSION*
}
}