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