array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'splqueue.dequeue.php', 1 => 'SplQueue::dequeue', 2 => 'Dequeues a node from the queue', ), 'up' => array ( 0 => 'class.splqueue.php', 1 => 'SplQueue', ), 'prev' => array ( 0 => 'class.splqueue.php', 1 => 'SplQueue', ), 'next' => array ( 0 => 'splqueue.enqueue.php', 1 => 'SplQueue::enqueue', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splqueue/dequeue.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplQueue::dequeue — Dequeues a node from the queue
Dequeues value from the top of the queue.
注意:
SplQueue::dequeue() is an alias of SplDoublyLinkedList::shift().
此函数没有参数。
The value of the dequeued node.