Annotation of embedaddon/php/ext/spl/tests/SplDoublyLinkedList_push_missing_parameter.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Check that SplDoublyLinkedList::push 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->push());
                      9: ?>
                     10: --EXPECTF--
                     11: Warning: SplDoublyLinkedList::push() expects exactly 1 parameter, 0 given in %s on line %d
                     12: NULL
                     13: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>