blob: bf00f50cc72152e8fe9c0d8606507eae2f9138de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--TEST--
SPL: SplHeap recursive var_dump
--FILE--
<?php
$a = new SplMaxHeap;
$a->insert($a);
var_dump($a)
?>
===DONE===
--EXPECT--
object(SplMaxHeap)#1 (3) {
["flags":"SplHeap":private]=>
int(0)
["isCorrupted":"SplHeap":private]=>
bool(false)
["heap":"SplHeap":private]=>
array(1) {
[0]=>
object(SplMaxHeap)#1 (3) {
["flags":"SplHeap":private]=>
int(0)
["isCorrupted":"SplHeap":private]=>
bool(false)
["heap":"SplHeap":private]=>
array(1) {
[0]=>
*RECURSION*
}
}
}
}
===DONE===
|