xref: /php-src/ext/spl/tests/heap_012.phpt (revision a555cc0b)
1--TEST--
2SPL: SplHeap recursive var_dump
3--FILE--
4<?php
5$a = new SplMaxHeap;
6$a->insert($a);
7var_dump($a)
8?>
9--EXPECTF--
10object(SplMaxHeap)#%d (3) {
11  ["flags":"SplHeap":private]=>
12  int(0)
13  ["isCorrupted":"SplHeap":private]=>
14  bool(false)
15  ["heap":"SplHeap":private]=>
16  array(1) {
17    [0]=>
18    *RECURSION*
19  }
20}
21