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