SplHeap
PHP 手册

SplHeap::top

(PHP 5 >= 5.3.0)

SplHeap::topPeaks at the node from the top of the heap

说明

mixed SplHeap::top ( void )

参数

This function has no parameters.

返回值

The value of the node on the top.


SplHeap
PHP 手册