<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.splheap.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  '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);

?>
<div id="splheap.extract" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SplHeap::extract</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">SplHeap::extract</span> &mdash; <span class="dc-title">Extracts a node from top of the heap and sift up</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-splheap.extract-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>SplHeap::extract</strong></span>(): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-splheap.extract-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-splheap.extract-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   The value of the extracted node.
  </p>
 </div>

 
 <div class="refsect1 errors" id="refsect1-splheap.extract-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">
   Throws <span class="classname"><a href="class.runtimeexception.php" class="classname">RuntimeException</a></span> when the data-structure is empty.
  </p>
 </div>


</div><?php manual_footer($setup); ?>