(PECL ds >= 1.0.0)
Ds\PriorityQueue::push — Pushes values into the queue
public Ds\PriorityQueue::push ( mixed $value , int $priority ) : void
Pushes a value
with a given priority
into the queue.
value
The value to push into the queue.
priority
The priority associated with the value.
No value is returned.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/ds-priorityqueue.push.php