PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

SplQueue::dequeue

(PHP 5 >= 5.3.0)

SplQueue::dequeueDequeues a node from the queue

Description

mixed SplQueue::dequeue ( void )

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.

PHP Manual