mirror of
https://github.com/php/php-src.git
synced 2024-10-02 15:26:06 +00:00
13 lines
236 B
Plaintext
13 lines
236 B
Plaintext
|
--TEST--
|
||
|
SPL: SplPriorityQueue current on empty queue should give null
|
||
|
--CREDITS--
|
||
|
Mark Schaschke (mark@fractalturtle.com)
|
||
|
TestFest London May 2009
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$h = new SplPriorityQueue();
|
||
|
var_dump($h->current());
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
NULL
|