array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'splheap.extract.php', 1 => 'SplHeap::extract', 2 => 'Extracts a node from top of the heap and sift up', ), 'up' => array ( 0 => 'class.splheap.php', 1 => 'SplHeap', ), 'prev' => array ( 0 => 'splheap.current.php', 1 => 'SplHeap::current', ), 'next' => array ( 0 => 'splheap.insert.php', 1 => 'SplHeap::insert', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splheap/extract.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SplHeap::extract

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

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

Beschreibung

public SplHeap::extract(): mixed

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

The value of the extracted node.

Fehler/Exceptions

Throws RuntimeException when the data-structure is empty.