xref: /PHP-8.4/ext/spl/tests/array_027.phpt (revision 7aacc705)
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?>
12--EXPECTF--
13object(AO)#%d (1) {
14  ["storage":"ArrayObject":private]=>
15  array(1) {
16    ["plop"]=>
17    *RECURSION*
18  }
19}
20