<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mysqli-stmt.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'mysqli-stmt.close.php',
    1 => 'mysqli_stmt::close',
    2 => 'Termine une requ&ecirc;te pr&eacute;par&eacute;e',
  ),
  'up' => 
  array (
    0 => 'class.mysqli-stmt.php',
    1 => 'mysqli_stmt',
  ),
  'prev' => 
  array (
    0 => 'mysqli-stmt.bind-result.php',
    1 => 'mysqli_stmt::bind_result',
  ),
  'next' => 
  array (
    0 => 'mysqli-stmt.construct.php',
    1 => 'mysqli_stmt::__construct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/mysqli/mysqli_stmt/close.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mysqli-stmt.close" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mysqli_stmt::close</h1>
  <h1 class="refname">mysqli_stmt_close</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">mysqli_stmt::close</span> -- <span class="refname">mysqli_stmt_close</span> &mdash; <span class="dc-title">Termine une requête préparée</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mysqli-stmt.close-description">
  <h3 class="title">Description</h3>
  <p class="para">Style orienté objet</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>mysqli_stmt::close</strong></span>(): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>

  <p class="para rdfs-comment">Style procédural</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>mysqli_stmt_close</strong></span>(<span class="methodparam"><span class="type"><a href="class.mysqli-stmt.php" class="type mysqli_stmt">mysqli_stmt</a></span> <code class="parameter">$statement</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>

  <p class="para rdfs-comment">
   Ferme une requête préparée. <span class="function"><strong>mysqli_stmt_close()</strong></span>
   libère le pointeur utilisé par <code class="literal">stmt</code>. Si la requête est
   en attente ou bien que les résultats ne sont pas encore lus, cette fonction
   les annulera et, donc, la prochaine requête pourra être exécutée.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-mysqli-stmt.close-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
<dt><code class="parameter">statement</code></dt><dd><p class="para">
 Style procédural uniquement : Un objet <span class="classname"><a href="class.mysqli-stmt.php" class="classname">mysqli_stmt</a></span>
 retourné par la fonction <span class="function"><a href="mysqli.stmt-init.php" class="function">mysqli_stmt_init()</a></span>.
</p></dd>
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mysqli-stmt.close-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Retourne toujours <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-mysqli-stmt.close-changelog">
  <h3 class="title">Historique</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.0.0</td>
       <td>
        Cette fonction retourne désormais toujours <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>. Auparavant, elle retournait <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> en cas d&#039;échec.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-mysqli-stmt.close-seealso">
  <h3 class="title">Voir aussi</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="mysqli.prepare.php" class="function" rel="rdfs-seeAlso">mysqli_prepare()</a> - Pr&eacute;pare une requ&ecirc;te SQL pour l'ex&eacute;cution</span></li>
   </ul>
  </p>
 </div>


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