编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SplQueue::dequeue
  • SplQueue::setIteratorMode »
  • PHP Manual
  • SplQueue
  • Adds an element to the queue

SplQueue::enqueue

(PHP 5 >= 5.3.0, PHP 7)

SplQueue::enqueue — Adds an element to the queue

说明

SplQueue::enqueue ( mixed $value ) : void

Enqueues value at the end of the queue.

Note:

SplQueue::enqueue() is an alias of SplDoublyLinkedList::push().

参数

value

The value to enqueue.

返回值

没有返回值。

相关文章
php domelement adds new attributephp domelement adds new attribute node to elementphp domelement adds new attribute node to elementphp domnode adds new child at the end of the childrenphp queue creates a new instancephp bbcode 函数 adds a bbcode elementphp semaphore 函数 destroy a message queuephp ps 函数 adds link to a web locationphp imagickdraw adds a path element to the current pathphp simplexmlelement adds an attribute to the simplexml elementphp simplexmlelement adds a child element to the xml nodephp solrdismaxquery adds a trigram phrase field pf3 parameter php solrinputdocument adds a child document for block indexingphp splpriorityqueue inserts an element in the queue by sifting it upphp splqueue constructs a new queue implemented using a doubly linked listphp splqueue dequeues a node from the queuephp splqueue adds an element to the queuephp tokyotyrant adds to a numeric keyphp tokyotyrantquery returns the current elementphp weakmap returns whether the iterator is still on a valid map element
关注编程学问公众号
编程学问网 湘ICP备20001732号