<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.outcontrol.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.ob-flush.php',
    1 => 'ob_flush',
    2 => 'Flush (send) the return value of the active output handler',
  ),
  'up' => 
  array (
    0 => 'ref.outcontrol.php',
    1 => 'Output Control Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.ob-end-flush.php',
    1 => 'ob_end_flush',
  ),
  'next' => 
  array (
    0 => 'function.ob-get-clean.php',
    1 => 'ob_get_clean',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/outcontrol/functions/ob-flush.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ob-flush" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ob_flush</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ob_flush</span> &mdash; <span class="dc-title">Flush (send) the return value of the active output handler</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ob-flush-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ob_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 function calls the output handler
   (with the <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-flush">PHP_OUTPUT_HANDLER_FLUSH</a></code></strong> flag),
   flushes (sends) its return value
   and discards the contents of the active output buffer.
  </p>
  <p class="para">
   This function does not turn off the active output buffer like
   <span class="function"><a href="function.ob-end-flush.php" class="function">ob_end_flush()</a></span> or <span class="function"><a href="function.ob-get-flush.php" class="function">ob_get_flush()</a></span> does.
  </p>
  <p class="para">
   <span class="function"><strong>ob_flush()</strong></span> will fail
   without an active output buffer started with the
   <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-flushable">PHP_OUTPUT_HANDLER_FLUSHABLE</a></code></strong> flag.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ob-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-function.ob-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>
 </div>


 <div class="refsect1 errors" id="refsect1-function.ob-flush-errors">
  <h3 class="title">Errori/Eccezioni</h3>
  <p class="para">
   If the function fails it generates an <strong><code><a href="errorfunc.constants.php#constant.e-notice">E_NOTICE</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ob-flush-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ob-start.php" class="function" rel="rdfs-seeAlso">ob_start()</a> - Turn on output buffering</span></li>
    <li><span class="function"><a href="function.ob-get-contents.php" class="function" rel="rdfs-seeAlso">ob_get_contents()</a> - Return the contents of the output buffer</span></li>
    <li><span class="function"><a href="function.ob-end-flush.php" class="function" rel="rdfs-seeAlso">ob_end_flush()</a> - Flush (send) the return value of the active output handler
   and turn the active output buffer off</span></li>
    <li><span class="function"><a href="function.ob-get-flush.php" class="function" rel="rdfs-seeAlso">ob_get_flush()</a> - Flush (send) the return value of the active output handler,
   return the contents of the active output buffer and turn it off</span></li>
    <li><span class="function"><a href="function.ob-clean.php" class="function" rel="rdfs-seeAlso">ob_clean()</a> - Clean (erase) the contents of the active output buffer</span></li>
   </ul>
  </p>
 </div>


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