phpday 2027 - Call for Papers

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

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