SplPriorityQueue::getExtractFlags

(PHP 7, PHP 8)

SplPriorityQueue::getExtractFlags — Get the flags of extraction

Description

public function SplPriorityQueue::getExtractFlags(): int

Gets the flags that define what is extracted by SplPriorityQueue::current(), SplPriorityQueue::top() and SplPriorityQueue::extract().

Parameters

This function has no parameters.

Return Values

Returns the flags of extraction, which is one of the following:

The default is SplPriorityQueue::EXTR_DATA.

See Also

+add a note

User Contributed Notes

There are no user contributed notes for this page.