(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplDoublyLinkedList::shift — Shifts a node from the beginning of the doubly linked list
У цієї функції немає параметрів.
The value of the shifted node.
Throws RuntimeException when the data-structure is empty.