Annotation of embedaddon/php/ext/spl/tests/SplDoublyLinkedList_unshift_missing_parameter.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Check that SplDoublyLinkedList::unshift generate a warning and return NULL with missing param
3: --CREDITS--
4: PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com)
5: --FILE--
6: <?php
7: $dll = new SplDoublyLinkedList();
8: var_dump($dll->unshift());
9: ?>
10: --EXPECTF--
11: Warning: SplDoublyLinkedList::unshift() expects exactly 1 parameter, 0 given in %s on line %d
12: NULL
13:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>