SplHeap::extract

(PHP 5 >= 5.3.0, PHP 7)

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

Descrição

public SplHeap::extract ( void ) : mixed

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

The value of the extracted node.

Erros

Throws RuntimeException when the data-structure is empty.