phpday 2027 - Call for Papers

SplPriorityQueue::current

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

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

説明

public function SplPriorityQueue::current(): mixed

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

パラメータ

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

戻り値

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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top