mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
12 lines
316 B
Plaintext
12 lines
316 B
Plaintext
|
--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
|