update : 2015.11.03
php.shukuma.com

검색:
 
 
Shifts a node from the beginning of the doubly linked list

SplDoublyLinkedList::shift

(PHP 5 >= 5.3.0)

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.