(PHP 5 >= 5.3.0, PHP 7)
Peeks at the node from the top of the heap
public mixed SplHeap::top ( void )
Returns:
The value of the node on the top.
Exception:
Throws RuntimeException when the data-structure is empty.
Please login to continue.