(PHP 5 >= 5.3.0)
SplDoublyLinkedList::shift — Shifts a node from the beginning of the doubly linked list
Esta função não possui parâmetros.
The value of the shifted node.
Throws RuntimeException when the data-structure is empty.