(PHP 5 >= 5.3.0, PHP 7)
Check whether the heap contains more nodes
public bool SplHeap::valid ( void )
Checks if the heap contains any more nodes.
Returns:
Returns TRUE
if the heap contains any more nodes, FALSE
otherwise.
Please login to continue.