SplQueue
PHP Manual

SplQueue::enqueue

(PHP 5 >= 5.3.0, PHP 7)

SplQueue::enqueueAdds an element to the queue.

Açıklama

void SplQueue::enqueue ( mixed $value )

Enqueues value at the end of the queue.

Bilginize:

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

Değiştirgeler

value

The value to enqueue.

Dönen Değerler

Hiçbir değer dönmez.


SplQueue
PHP Manual