(PHP 5 >= 5.3.0)
SplDoublyLinkedList::shift — Shifts a node from the beginning of the doubly linked list
Această funcție nu are parametri.
The value of the shifted node.
Throws RuntimeException when the data-structure is empty.