PHP 8.1.28 Released!

SplPriorityQueue::extract

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

SplPriorityQueue::extractヒープの先頭からノードを取り出す

説明

public SplPriorityQueue::extract(): mixed

パラメータ

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

戻り値

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

add a note

User Contributed Notes

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