mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
16 lines
313 B
PHP
16 lines
313 B
PHP
--TEST--
|
|
SPL: SplPriorityQueue: test compare
|
|
--CREDITS--
|
|
Mark Schaschke (mark@fractalturtle.com)
|
|
TestFest London May 2009
|
|
--FILE--
|
|
<?php
|
|
$h = new SplPriorityQueue();
|
|
var_dump($h->compare(4, 5) < 0);
|
|
var_dump($h->compare(5, 5) == 0);
|
|
var_dump($h->compare(5, 4) > 0);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
bool(true)
|
|
bool(true)
|