downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SplQueue::enqueue> <SplQueue::__construct
Last updated: Fri, 20 May 2011

view this page in

SplQueue::dequeue

(PHP 5 >= 5.3.0)

SplQueue::dequeueDequeues a node from the queue

Descripción

mixed SplQueue::dequeue ( void )

Dequeues value from the top of the queue.

Note:

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

The value of the dequeued node.



add a note add a note User Contributed Notes SplQueue::dequeue
xuecan at gmail dot com 21-Jan-2010 04:57
If the queue is empty, dequeue() will raise an 'RuntimeException' with message 'Can't shift from an empty datastructure'.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites