![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: SPL: DoublyLinkedList: prev ! 3: --FILE-- ! 4: <?php ! 5: $dll = new SplDoublyLinkedList(); ! 6: $dll->rewind(); ! 7: $dll->prev(); ! 8: var_dump($dll->current()); ! 9: ?> ! 10: ===DONE=== ! 11: --EXPECT-- ! 12: NULL ! 13: ===DONE===