(PHP 7, PHP 8)
SplPriorityQueue::getExtractFlags — Get the flags of extraction
Gets the flags that define what is extracted by SplPriorityQueue::current(), SplPriorityQueue::top() and SplPriorityQueue::extract().
Questa funzione non contiene parametri.
Returns the flags of extraction, which is one of the following:
SplPriorityQueue::EXTR_DATA (0x00000001): Extract the data
SplPriorityQueue::EXTR_PRIORITY (0x00000002): Extract the priority
SplPriorityQueue::EXTR_BOTH (0x00000003): Extract an array containing both
The default is SplPriorityQueue::EXTR_DATA.