(PHP 5 >= 5.3.0, PHP 7)
Sets the mode of extraction
public void SplPriorityQueue::setExtractFlags ( int $flags )
Parameters:
flags
Defines what is extracted by SplPriorityQueue::current(), SplPriorityQueue::top() and SplPriorityQueue::extract().
SplPriorityQueue::EXTR_DATA (0x00000001): Extract the data SplPriorityQueue::EXTR_PRIORITY (0x00000002): Extract the priority