PHP 8.4.0 RC4 available for testing

SplPriorityQueue::setExtractFlags

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

SplPriorityQueue::setExtractFlagsSets the mode of extraction

Açıklama

public SplPriorityQueue::setExtractFlags(int $flags): int

Bağımsız Değişkenler

flags

Defines what is extracted by SplPriorityQueue::current(), SplPriorityQueue::top() and SplPriorityQueue::extract().

The default mode is SplPriorityQueue::EXTR_DATA.

Dönen Değerler

Returns the flags of extraction.

add a note

User Contributed Notes

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