![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: SPL: SplPriorityQueue current on empty queue should give null 3: --CREDITS-- 4: Mark Schaschke (mark@fractalturtle.com) 5: TestFest London May 2009 6: --FILE-- 7: <?php 8: $h = new SplPriorityQueue(); 9: var_dump($h->current()); 10: ?> 11: --EXPECT-- 12: NULL