![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: SPL: SplPriorityQueue: top too many arguments exception 3: --CREDITS-- 4: Nathaniel McHugh nat@fishtrap.co.uk 5: #testfest London 2009-05-09 6: --FILE-- 7: <?php 8: $priorityQueue = new SplPriorityQueue(); 9: $priorityQueue->top('var'); 10: ?> 11: --EXPECTF-- 12: Warning: SplPriorityQueue::top() expects exactly 0 parameters, 1 given in %s