1--TEST-- 2SPL: SplPriorityQueue: top too many arguments exception 3--CREDITS-- 4Nathaniel 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-- 12Warning: SplPriorityQueue::top() expects exactly 0 parameters, 1 given in %s 13