SplQueue
PHP Manual

SplQueue::enqueue

(PHP 5 >= 5.3.0, PHP 7)

SplQueue::enqueueAdds an element to the queue.

Descrierea

void SplQueue::enqueue ( mixed $value )

Enqueues value at the end of the queue.

Notă:

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

Parametri

value

The value to enqueue.

Valorile întoarse

Nu este întoarsă nici o valoare.


SplQueue
PHP Manual