mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
32 lines
414 B
PHP
32 lines
414 B
PHP
--TEST--
|
|
SPL: SplHeap: var_dump
|
|
--FILE--
|
|
<?php
|
|
$h = new SplMaxHeap();
|
|
|
|
$h->insert(1);
|
|
$h->insert(5);
|
|
$h->insert(0);
|
|
$h->insert(4);
|
|
|
|
var_dump($h);
|
|
?>
|
|
--EXPECT--
|
|
object(SplMaxHeap)#1 (3) {
|
|
["flags":"SplHeap":private]=>
|
|
int(0)
|
|
["isCorrupted":"SplHeap":private]=>
|
|
bool(false)
|
|
["heap":"SplHeap":private]=>
|
|
array(4) {
|
|
[0]=>
|
|
int(5)
|
|
[1]=>
|
|
int(4)
|
|
[2]=>
|
|
int(0)
|
|
[3]=>
|
|
int(1)
|
|
}
|
|
}
|