Annotation of embedaddon/php/ext/spl/tests/SplDoublyLinkedList_isEmpty_empty-with-parameter.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Check that SplDoublyLinkedList->isEmpty() returns an error message when a parameter is passed.
                      3: --CREDITS--
                      4: PHPNW Testfest 2009 - Paul Court ( g@rgoyle.com )
                      5: --FILE--
                      6: <?php
                      7:        // Create a new Doubly Linked List
                      8:        $dll = new SplDoublyLinkedList();
                      9:        
                     10:        var_dump($dll->isEmpty("test"));
                     11: ?>
                     12: --EXPECTF--
                     13: Warning: SplDoublyLinkedList::isEmpty() expects exactly 0 parameters, %d given in %s
                     14: NULL

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