SplHeap::top

(PHP 5 >= 5.3.0)

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

說明

public mixed SplHeap::top ( void )

參數

此函式沒有參數。

回傳值

The value of the node on the top.

錯誤/例外

Throws RuntimeException when the data-structure is empty.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top