Annotation of embedaddon/php/ext/spl/tests/SplDoublyLinkedList_bottom_pass_float.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SplDoublyLinkedList::bottom() - pass in an unexpected float parameter
3: --CREDITS--
4: PHPNW Testfest 2009 - Adrian Hardy
5: --FILE--
6: <?php
7:
8: $list = new SplDoublyLinkedList();
9: $list->push("top");
10: $list->bottom(3.14159);
11:
12: ?>
13: --EXPECTF--
14: Warning: SplDoublyLinkedList::bottom() expects exactly 0 parameters, 1 given in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>