SplPriorityQueue::top Peeks at the node from the top of the queue &reftitle.description; public mixedSplPriorityQueue::top &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; The value or priority (or both) of the top node, depending on the extract flag.