SplDoublyLinkedList
PHP Manual

SplDoublyLinkedList::shift

(PHP 5 >= 5.3.0, PHP 7)

SplDoublyLinkedList::shiftShifts a node from the beginning of the doubly linked list

설명

public mixed SplDoublyLinkedList::shift ( void )

인수

이 함수는 인수가 없습니다.

반환값

The value of the shifted node.

오류/예외

Throws RuntimeException when the data-structure is empty.


SplDoublyLinkedList
PHP Manual