mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
12 lines
236 B
PHP
12 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
|