<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ibm-db2.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.db2-free-stmt.php',
    1 => 'db2_free_stmt',
    2 => 'Frees resources associated with the indicated statement resource',
  ),
  'up' => 
  array (
    0 => 'ref.ibm-db2.php',
    1 => 'IBM DB2 函数',
  ),
  'prev' => 
  array (
    0 => 'function.db2-free-result.php',
    1 => 'db2_free_result',
  ),
  'next' => 
  array (
    0 => 'function.db2-get-option.php',
    1 => 'db2_get_option',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ibm_db2/functions/db2-free-stmt.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.db2-free-stmt" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">db2_free_stmt</h1>
  <p class="verinfo">(PECL ibm_db2 &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">db2_free_stmt</span> &mdash; <span class="dc-title">
   Frees resources associated with the indicated statement resource
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.db2-free-stmt-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>db2_free_stmt</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$stmt</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>



  <p class="simpara">
   Frees the system and database resources that are associated with a statement
   resource. These resources are freed implicitly when a script finishes, but
   you can call <span class="function"><strong>db2_free_stmt()</strong></span> to explicitly free the
   statement resources before the end of the script.
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.db2-free-stmt-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt><code class="parameter">stmt</code></dt>
    <dd>
     <span class="simpara">
      A valid statement resource.
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.db2-free-stmt-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="simpara">
   成功时返回 <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>， 或者在失败时返回 <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>。
  </p>
 </div>


 


 <div class="refsect1 seealso" id="refsect1-function.db2-free-stmt-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.db2-free-result.php" class="function" rel="rdfs-seeAlso">db2_free_result()</a> - Frees resources associated with a result set</span></li>
  </ul>
 </div>


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