SplQueue::dequeue

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

SplQueue::dequeueDequeues a node from the queue

说明

public SplQueue::dequeue(): mixed

Dequeues value from the top of the queue.

注意:

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

参数

此函数没有参数。

返回值

The value of the dequeued node.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top