downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SplHeap::valid> <SplHeap::rewind
[edit] Last updated: Fri, 25 May 2012

view this page in

SplHeap::top

(PHP 5 >= 5.3.0)

SplHeap::topヒープの先頭のノードを取り出す

説明

mixed SplHeap::top ( void )

パラメータ

この関数にはパラメータはありません。

返り値

先頭のノードの値を返します。

エラー / 例外

データが空のときは RuntimeException をスローします。



add a note add a note User Contributed Notes SplHeap::top
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites