![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Check that SplDoublyLinkedList->isEmpty() correctly returns true for an empty list. 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()); 11: ?> 12: --EXPECT-- 13: bool(true)