SplPriorityQueue::extract
PHP Manual
PHP Manual»SplPriorityQueue»SplPriorityQueue::extract

SplPriorityQueue::extract

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

SplPriorityQueue::extractExtracts a node from top of the heap and sift up

Опис

public function SplPriorityQueue::extract(): mixed

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

The value or priority (or both) of the extracted node, depending on the extract flag.

To Top