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