<?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 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.ob-end-flush.php',
    1 => 'ob_end_flush',
    2 => 'Leert (sendet) den R&uuml;ckgabewert des aktiven Ausgabe-Handlers und
   deaktiviert den aktiven Ausgabepuffer',
  ),
  'up' => 
  array (
    0 => 'ref.outcontrol.php',
    1 => 'Output-Control-Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.ob-end-clean.php',
    1 => 'ob_end_clean',
  ),
  'next' => 
  array (
    0 => 'function.ob-flush.php',
    1 => 'ob_flush',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/outcontrol/functions/ob-end-flush.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ob-end-flush" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ob_end_flush</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ob_end_flush</span> &mdash; <span class="dc-title">
   Leert (sendet) den Rückgabewert des aktiven Ausgabe-Handlers und
   deaktiviert den aktiven Ausgabepuffer
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ob-end-flush-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ob_end_flush</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Diese Funktion ruft den Ausgabe-Handler auf (mit dem Flag
   <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-final">PHP_OUTPUT_HANDLER_FINAL</a></code></strong>), leert (sendet) seinen
   Rückgabewert, verwirft den Inhalt des aktiven Ausgabepuffers und
   deaktiviert den aktiven Ausgabepuffer.
  </p>
  <p class="para">
   Wenn es keinen aktiven Ausgabepuffer gibt, der mit dem Flag
   <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-removable">PHP_OUTPUT_HANDLER_REMOVABLE</a></code></strong> gestartet wurde, schlägt
   <span class="function"><strong>ob_end_flush()</strong></span> fehl.
  </p>
  <p class="para">
   <span class="function"><strong>ob_end_flush()</strong></span> leert (sendet) den Rückgabewert des
   Ausgabe-Handlers, auch wenn der aktive Ausgabepuffer ohne das Flag
   <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-flushable">PHP_OUTPUT_HANDLER_FLUSHABLE</a></code></strong> gestartet wurde.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ob-end-flush-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">Diese Funktion besitzt keine Parameter.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ob-end-flush-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt bei Erfolg <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> zurück. Bei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.ob-end-flush-errors">
  <h3 class="title">Fehler/Exceptions</h3>
  <p class="para">
   Wenn die Funktion fehlschlägt, erzeugt sie eine
   <strong><code><a href="errorfunc.constants.php#constant.e-notice">E_NOTICE</a></code></strong>-Meldung.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.ob-end-flush-examples">
  <h3 class="title">Beispiele</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Beispiel #1 <span class="function"><strong>ob_end_flush()</strong></span>-Beispiel</strong></p>
    <div class="example-contents"><p>
     Das folgende Beispiel zeigt eine einfache Möglichkeit, alle Ausgabepuffer
     zu leeren und zu beenden:
    </p></div>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />  </span><span style="color: #007700">while (@</span><span style="color: #0000BB">ob_end_flush</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ob-end-flush-seealso">
  <h3 class="title">Siehe auch</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> - Ausgabepufferung aktivieren</span></li>
    <li><span class="function"><a href="function.ob-get-contents.php" class="function" rel="rdfs-seeAlso">ob_get_contents()</a> - Liefert den Inhalt des Ausgabepuffers</span></li>
    <li><span class="function"><a href="function.ob-flush.php" class="function" rel="rdfs-seeAlso">ob_flush()</a> - Leert (sendet) den R&uuml;ckgabewert des aktiven Ausgabe-Handlers</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-end-clean.php" class="function" rel="rdfs-seeAlso">ob_end_clean()</a> - L&ouml;scht den Inhalt des aktiven Ausgabepuffers und deaktiviert ihn</span></li>
   </ul>
  </p>
 </div>


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