mirror of
https://github.com/php/php-src.git
synced 2025-01-10 21:14:37 +08:00
13 lines
236 B
PHP
13 lines
236 B
PHP
--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
|