Php/docs/splpriorityqueue.next
From Get docs
SplPriorityQueue::next
(PHP 5 >= 5.3.0, PHP 7)
SplPriorityQueue::next — Move to the next node
Description
public SplPriorityQueue::next ( ) : void
Extracts the top node from the queue.
Parameters
This function has no parameters.
Return Values
No value is returned.