PHP - Manual: SplQueue::enqueue
2024-12-23
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplQueue::enqueue — Adds an element to the queue
Enqueues value
at the end of the queue.
注意:
SplQueue::enqueue() is an alias of SplDoublyLinkedList::push().
value
The value to enqueue.
没有返回值。