array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'splpriorityqueue.extract.php', 1 => 'SplPriorityQueue::extract', 2 => 'Extracts a node from top of the heap and sift up', ), 'up' => array ( 0 => 'class.splpriorityqueue.php', 1 => 'SplPriorityQueue', ), 'prev' => array ( 0 => 'splpriorityqueue.current.php', 1 => 'SplPriorityQueue::current', ), 'next' => array ( 0 => 'splpriorityqueue.getextractflags.php', 1 => 'SplPriorityQueue::getExtractFlags', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splpriorityqueue/extract.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplPriorityQueue::extract — Extracts a node from top of the heap and sift up
此函数没有参数。
The value or priority (or both) of the extracted node, depending on the extract flag.