<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.oci8.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.oci-free-statement.php',
    1 => 'oci_free_statement',
    2 => '释放关联于语句或游标的所有资源',
  ),
  'up' => 
  array (
    0 => 'ref.oci8.php',
    1 => 'OCI8 函数',
  ),
  'prev' => 
  array (
    0 => 'function.oci-free-descriptor.php',
    1 => 'oci_free_descriptor',
  ),
  'next' => 
  array (
    0 => 'function.oci-get-implicit-resultset.php',
    1 => 'oci_get_implicit_resultset',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/oci8/functions/oci-free-statement.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.oci-free-statement" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">oci_free_statement</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8, PECL OCI8 &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">oci_free_statement</span> &mdash; <span class="dc-title">释放关联于语句或游标的所有资源</span></p>

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

  <p class="para rdfs-comment">
   <span class="function"><strong>oci_free_statement()</strong></span> 释放关联于
   Oracle 游标或语句的资源，该资源是作为
   <span class="function"><a href="function.oci-parse.php" class="function">oci_parse()</a></span> 的结果或者是从 Oracle 取得。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.oci-free-statement-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">statement</code></dt>
     <dd>
      <p class="para">
       有效的 OCI 语句。
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.oci-free-statement-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <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><?php manual_footer($setup); ?>