<?php $mylist = new SplDoublyLinkedList(); array_push($mylist, 'doubly', 'linked', 'list'); $mylist->rewind(); while($mylist->valid()) { echo $mylist->current(), '<hr>'; $mylist->next(); }
You have javascript disabled. You will not be able to edit any code.