1--TEST-- 2Check that SplPriorityQueue::insert generate a warning and returns NULL when rubbish params are passed 3--CREDITS-- 4PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com) 5--FILE-- 6<?php 7 8$h = new SplPriorityQueue(); 9 10var_dump($h->insert(NULL)); 11 12?> 13--EXPECTF-- 14Warning: SplPriorityQueue::insert() expects exactly 2 parameters, 1 given in %s on line %d 15NULL 16