SplQueue::dequeue

Dequeues a node from the queue

Description

public mixed SplQueue::dequeue()

Dequeues value from the top of the queue.

Note:

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

Parameters

This function has no parameters.

Return Values

The value of the dequeued node.