SplPriorityQueue::extract
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Extracts a node from top of the heap and sift up
Description
SplPriorityQueue::extract(): mixed
Parameters Parameters
Return Values
The value or priority (or both) of the extracted node, depending on the extract flag.