SplHeap
PHP Manual

SplHeap::extract

(PHP 5 >= 5.3.0)

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

Descrição

public mixed SplHeap::extract ( void )

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.


SplHeap
PHP Manual