SplDoublyLinkedList::rewind

(PHP 5 >= 5.3.0, PHP 7) Rewind iterator back to the start public void SplDoublyLinkedList::rewind ( void ) This rewinds the iterator to the beginning. Returns: No value is returned.

SplDoublyLinkedList::push

(PHP 5 >= 5.3.0, PHP 7) Pushes an element at the end of the doubly linked list public void SplDoublyLinkedList::push ( mixed $value ) Pushes value at the end of the doubly linked list. Parameters: value The value to push. Returns: No value is returned.

SplDoublyLinkedList::prev

(PHP 5 >= 5.3.0, PHP 7) Move to previous entry public void SplDoublyLinkedList::prev ( void ) Move the iterator to the previous node. Returns: No value is returned.

SplDoublyLinkedList::pop

(PHP 5 >= 5.3.0, PHP 7) Pops a node from the end of the doubly linked list public mixed SplDoublyLinkedList::pop ( void ) Returns: The value of the popped node. Exception: Throws RuntimeException when the data-structure is empty.

SplDoublyLinkedList::offsetUnset

(PHP 5 >= 5.3.0, PHP 7) Unsets the value at the specified $index public void SplDoublyLinkedList::offsetUnset ( mixed $index ) Unsets the value at the specified index. Parameters: index The index being unset. Returns: No value is returned. Exception: Throws OutOfRangeException when index is out of bounds or w

SplDoublyLinkedList::offsetSet

(PHP 5 >= 5.3.0, PHP 7) Sets the value at the specified $index to $newval public void SplDoublyLinkedList::offsetSet ( mixed $index, mixed $newval ) Sets the value at the specified index to newval. Parameters: index The index being set. newval The new value for the index. Returns: No value is returned.

SplDoublyLinkedList::offsetGet

(PHP 5 >= 5.3.0, PHP 7) Returns the value at the specified $index public mixed SplDoublyLinkedList::offsetGet ( mixed $index ) Parameters: index The index with the value. Returns: The value at the specified index. Exception: Throws OutOfRangeException when index is out of bounds or when index cannot be parsed as

SplDoublyLinkedList::offsetExists

(PHP 5 >= 5.3.0, PHP 7) Returns whether the requested $index exists public bool SplDoublyLinkedList::offsetExists ( mixed $index ) Parameters: index The index being checked. Returns: TRUE if the requested index exists, otherwise FALSE

SplDoublyLinkedList::next

(PHP 5 >= 5.3.0, PHP 7) Move to next entry public void SplDoublyLinkedList::next ( void ) Move the iterator to the next node. Returns: No value is returned.

SplDoublyLinkedList::key

(PHP 5 >= 5.3.0, PHP 7) Return current node index public mixed SplDoublyLinkedList::key ( void ) This function returns the current node index Returns: The current node index.