<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.ob-clean.php',
    1 => 'ob_clean',
    2 => 'Nettoyer (effacer) le contenu du tampon de sortie actif.',
  ),
  'up' => 
  array (
    0 => 'ref.outcontrol.php',
    1 => 'Fonctions de bufferisation de sortie',
  ),
  'prev' => 
  array (
    0 => 'function.flush.php',
    1 => 'flush',
  ),
  'next' => 
  array (
    0 => 'function.ob-end-clean.php',
    1 => 'ob_end_clean',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/outcontrol/functions/ob-clean.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ob-clean" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ob_clean</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ob_clean</span> &mdash; <span class="dc-title">Nettoyer (effacer) le contenu du tampon de sortie actif.</span></p>

 </div>

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

  <p class="para rdfs-comment">
   Cette fonction appelle le gestionnaire de sortie
   (avec le drapeau <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-clean">PHP_OUTPUT_HANDLER_CLEAN</a></code></strong>),
   ignore sa valeur de retour
   et nettoie (efface) le contenu du tampon de sortie actif.
  </p>
  <p class="para">
   Cette fonction ne désactive pas le tampon de sortie actif comme le font
   <span class="function"><a href="function.ob-end-clean.php" class="function">ob_end_clean()</a></span> ou <span class="function"><a href="function.ob-get-clean.php" class="function">ob_get_clean()</a></span>.
  </p>
  <p class="para">
   <span class="function"><strong>ob_clean()</strong></span> échouera
   sans un tampon de sortie actif démarré avec le drapeau
   <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-cleanable">PHP_OUTPUT_HANDLER_CLEANABLE</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ob-clean-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">Cette fonction ne contient aucun paramètre.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ob-clean-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Cette fonction retourne <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> en cas de succès ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.ob-clean-errors">
  <h3 class="title">Erreurs / Exceptions</h3>
  <p class="para">
   Si la fonction échoue, elle génère une <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-clean-seealso">
  <h3 class="title">Voir aussi</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ob-flush.php" class="function" rel="rdfs-seeAlso">ob_flush()</a> - Vide (envoie) la valeur de retour du gestionnaire de sortie actif.</span></li>
    <li><span class="function"><a href="function.ob-end-flush.php" class="function" rel="rdfs-seeAlso">ob_end_flush()</a> - Vide (envoie) la valeur de retour du gestionnaire de sortie actif
   et d&eacute;sactive le tampon de sortie actif</span></li>
    <li><span class="function"><a href="function.ob-end-clean.php" class="function" rel="rdfs-seeAlso">ob_end_clean()</a> - Effacez (nettoyez) le contenu du tampon de sortie actif et d&eacute;sactivez-le.</span></li>
   </ul>
  </p>
 </div>


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