SplHeap
PHP 手册

SplHeap::key

(PHP 5 >= 5.3.0)

SplHeap::keyReturn current node index

说明

mixed SplHeap::key ( void )

This function returns the current node index

参数

This function has no parameters.

返回值

The current node index.


SplHeap
PHP 手册