SplQueue::dequeue

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SplQueue::dequeueDequeues a node from the queue

說(shuō)明

public SplQueue::dequeue(): mixed

Dequeues value from the top of the queue.

注意:

SplQueue::dequeue() is an alias of SplDoublyLinkedList::shift().

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

The value of the dequeued node.