xref: /PHP-5.3/ext/spl/tests/array_027.phpt (revision 4d571dee)
1--TEST--
2SPL: ArrayObject revursive var_dump
3--FILE--
4<?php
5class AO extends ArrayObject {
6}
7$o = new AO();
8$o['plop'] = $o;
9
10var_dump($o);
11--EXPECTF--
12object(AO)#%d (1) {
13  ["storage":"ArrayObject":private]=>
14  array(1) {
15    ["plop"]=>
16    *RECURSION*
17  }
18}
19