public function FastPriorityQueue::extract in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/FastPriorityQueue.php \Zend\Stdlib\FastPriorityQueue::extract()
Extract an element in the queue according to the priority and the order of insertion
Return value
mixed
File
- vendor/
zendframework/ zend-stdlib/ src/ FastPriorityQueue.php, line 110
Class
- FastPriorityQueue
- This is an efficient implementation of an integer priority queue in PHP
Namespace
Zend\StdlibCode
public function extract() {
if (!$this
->valid()) {
return false;
}
$value = $this
->current();
$this
->nextAndRemove();
return $value;
}