<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.ocilob.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'ocilob.flush.php',
    1 => 'OCILob::flush',
    2 => 'Flushes/writes buffer of the LOB to the server',
  ),
  'up' => 
  array (
    0 => 'class.ocilob.php',
    1 => 'OCILob',
  ),
  'prev' => 
  array (
    0 => 'ocilob.export.php',
    1 => 'OCILob::export',
  ),
  'next' => 
  array (
    0 => 'ocilob.free.php',
    1 => 'OCILob::free',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/oci8/ocilob/flush.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ocilob.flush" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OCILob::flush</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8, PECL OCI8 &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">OCILob::flush</span> &mdash; <span class="dc-title">Flushes/writes buffer of the LOB to the server</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-ocilob.flush-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>OCILob::flush</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flag</code><span class="initializer"> = 0</span></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>OCILob::flush()</strong></span> actually writes data to the server.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-ocilob.flush-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">flag</code></dt>
     <dd>
      <p class="para">
       By default, resources are not freed, but using flag 
       <strong><code>OCI_LOB_BUFFER_FREE</code></strong> you can do it explicitly.
       Be sure you know what you&#039;re doing - next read/write operation to the
       same part of LOB will involve a round-trip to the server and initialize
       new buffer resources. It is recommended to use 
       <strong><code>OCI_LOB_BUFFER_FREE</code></strong> flag only when you are not
       going to work with the LOB anymore.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-ocilob.flush-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
  </p>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if buffering was not enabled or an error occurred.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-ocilob.flush-changelog">
  <h3 class="title">Log delle modifiche</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Versione</th>
      <th>Descrizione</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0, PECL OCI8 3.0.0</td>
      <td>
       The <span class="classname"><strong class="classname">OCI-Lob</strong></span> class was renamed to
       <span class="classname"><a href="class.ocilob.php" class="classname">OCILob</a></span> to align with PHP naming standards.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-ocilob.flush-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><a href="ocilob.getbuffering.php" class="xref">OCILob::getBuffering</a></li>
    <li><a href="ocilob.setbuffering.php" class="xref">OCILob::setBuffering</a></li>
   </ul>
  </p>
 </div>


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