PHP 8.1.28 Released!

SplPriorityQueue::current

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

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

説明

public SplPriorityQueue::current(): mixed

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

パラメータ

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

戻り値

現在のノードの値あるいは優先順位 (あるいはその両方) を、抽出フラグの設定に応じて返します。

add a note

User Contributed Notes

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