array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'splheap.isempty.php', 1 => 'SplHeap::isEmpty', 2 => 'Checks whether the heap is empty', ), 'up' => array ( 0 => 'class.splheap.php', 1 => 'SplHeap', ), 'prev' => array ( 0 => 'splheap.iscorrupted.php', 1 => 'SplHeap::isCorrupted', ), 'next' => array ( 0 => 'splheap.key.php', 1 => 'SplHeap::key', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splheap/isempty.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SplHeap::isEmpty

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

SplHeap::isEmptyChecks whether the heap is empty

Beschreibung

public SplHeap::isEmpty(): bool

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns whether the heap is empty.