array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'splheap.count.php', 1 => 'SplHeap::count', 2 => 'Counts the number of elements in the heap', ), 'up' => array ( 0 => 'class.splheap.php', 1 => 'SplHeap', ), 'prev' => array ( 0 => 'splheap.compare.php', 1 => 'SplHeap::compare', ), 'next' => array ( 0 => 'splheap.current.php', 1 => 'SplHeap::current', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splheap/count.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SplHeap::count

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

SplHeap::countCounts the number of elements in the heap

Beschreibung

public SplHeap::count(): int

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the number of elements in the heap.