<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.streamwrapper.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'streamwrapper.stream-flush.php',
    1 => 'streamWrapper::stream_flush',
    2 => 'Flushes the output',
  ),
  'up' => 
  array (
    0 => 'class.streamwrapper.php',
    1 => 'streamWrapper',
  ),
  'prev' => 
  array (
    0 => 'streamwrapper.stream-eof.php',
    1 => 'streamWrapper::stream_eof',
  ),
  'next' => 
  array (
    0 => 'streamwrapper.stream-lock.php',
    1 => 'streamWrapper::stream_lock',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/stream/streamwrapper/stream-flush.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="streamwrapper.stream-flush" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">streamWrapper::stream_flush</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.2, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">streamWrapper::stream_flush</span> &mdash; <span class="dc-title">Flushes the output</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-streamwrapper.stream-flush-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>streamWrapper::stream_flush</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   This method is called in response to <span class="function"><a href="function.fflush.php" class="function">fflush()</a></span> and when the stream is being closed while any unflushed data has been written to it before.
  </p>
  <p class="para">
   If you have cached data in your stream but not yet stored it into the
   underlying storage, you should do so now.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-streamwrapper.stream-flush-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">Questa funzione non contiene parametri.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-streamwrapper.stream-flush-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Should return <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if the cached data was successfully stored (or
   if there was no data to store), or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if the data could
   not be stored.
  </p>
 </div>




 <div class="refsect1 notes" id="refsect1-streamwrapper.stream-flush-notes">
  <h3 class="title">Note</h3>
  <blockquote class="note"><p><strong class="note">Nota</strong>: 
   <p class="para">
    If not implemented, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> is assumed as the return value.
   </p>
  </p></blockquote>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-streamwrapper.stream-flush-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.fflush.php" class="function" rel="rdfs-seeAlso">fflush()</a> - Invia l'output in un file</span></li>
   </ul>
  </p>
 </div>


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