PHP » GoLang |
login |
register |
about
|
GoLang Ds\PriorityQueue::pop
request it (300)
GoLang replacement for PHP's Ds\PriorityQueue::pop
[edit | history]
Ds\PriorityQueue::pop(PECL ds >= 1.0.0) Ds\PriorityQueue::pop — Removes and returns the value with the highest priority DescriptionRemoves and returns the value at the front of the queue, ie. the value with the highest priority.
ParametersThis function has no parameters. Return ValuesThe removed value which was at the front of the queue. Errors/ExceptionsUnderflowException if empty. ExamplesExample #1 Ds\PriorityQueue::pop() example
<?php The above example will output something similar to: string(1) "a" string(1) "b" string(1) "c" |
more
Recently updated
more
Most requested
more
Last requests
|