SplDoublyLinkedList::shift — Shifts a node from the beginning of the doubly linked list
This function has no parameters.
The value of the shifted node.
Throws RuntimeException when the data-structure is empty.