(PHP 5 >= 5.3.0, PHP 7)
Extracts a node from top of the heap and sift up.
public mixed SplHeap::extract ( void )
Returns:
The value of the extracted node.
Exception:
Throws RuntimeException when the data-structure is empty.
Please login to continue.