« SplHeap::count
SplHeap::extract »

SplHeap::current

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SplHeap::current — イテレータが指す現在のノードを返す

説明

public function SplHeap::current(): mixed

現在のノードを取得します。

パラメータ

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

戻り値

現在のノードの値を返します。

関連キーワード:
SplHeap   ノード   イテレータ   current   count   extract   mixed
関連する関数・ページ:
splheap.next   splheap.extract   splheap.top   splheap.key   splheap.rewind   splheap.count