xref: /PHP-7.2/ext/spl/tests/array_027.phpt (revision a90c801c)
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