blob: 86c6b6370e5400d84a0f01c57cef1aeb21254951 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
Check that SplHeap::insert generate a warning and returns NULL when $value is missing
--CREDITS--
PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com)
--FILE--
<?php
$h = new SplMaxHeap();
var_dump($h->insert());
?>
--EXPECTF--
Warning: SplHeap::insert() expects exactly 1 parameter, 0 given in %s on line %d
NULL
|