array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'class.splheap.php', 1 => 'SplHeap', ), 'up' => array ( 0 => 'spl.datastructures.php', 1 => '数据结构', ), 'prev' => array ( 0 => 'splqueue.enqueue.php', 1 => 'SplQueue::enqueue', ), 'next' => array ( 0 => 'splheap.compare.php', 1 => 'SplHeap::compare', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splheap.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.splheap.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
The SplHeap class provides the main functionalities of a Heap.