SplPriorityQueue
PHP Manual

SplPriorityQueue::top

(PHP 5 >= 5.3.0)

SplPriorityQueue::topPeaks at the node from the top of the queue

설명

mixed SplPriorityQueue::top ( void )

인수

이 함수는 인수가 없습니다.

반환값

The value or priority (or both) of the top node, depending on the extract flag.


SplPriorityQueue
PHP Manual