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