![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Run current() function on an empty SplDoublyLinkedList. 3: --CREDITS-- 4: Philip Norton philipnorton42@gmail.com 5: --FILE-- 6: <?php 7: 8: $list = new SplDoublyLinkedList(); 9: var_dump($list->current()); 10: 11: ?> 12: --EXPECT-- 13: NULL