PHP 8.6.0RC7 available for testing

SplPriorityQueue::getExtractFlags

(PHP 7, PHP 8)

SplPriorityQueue::getExtractFlags — 展開する時のフラグを取得する

説明

public function SplPriorityQueue::getExtractFlags(): int

SplPriorityQueue::current()、 SplPriorityQueue::top()、 SplPriorityQueue::extract() が何を取り出すのかを指定するフラグを取得します。

パラメータ

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

戻り値

取り出す際のフラグを返します。次のいずれかです:

デフォルトは SplPriorityQueue::EXTR_DATA です。

参考

+add a note

User Contributed Notes

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