Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 5265

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Clean (erase) the output buffer</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.flush.html">flush</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ob-end-clean.html">ob_end_clean</a></div>
 <div class="up"><a href="ref.outcontrol.html">Output Control Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><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)</p><p class="refpurpose"><span class="refname">ob_clean</span> &mdash; <span class="dc-title">Clean (erase) the output buffer</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="type"><span class="type void">void</span></span> <span class="methodname"><strong>ob_clean</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   This function discards the contents of the output buffer.
  </p>
  <p class="para">
   This function does not destroy the output buffer like
   <span class="function"><a href="function.ob-end-clean.html" class="function">ob_end_clean()</a></span> does.
  </p>
  <p class="para">
   The output buffer must be started by
   <span class="function"><a href="function.ob-start.html" class="function">ob_start()</a></span> with <a href="outcontrol.constants.html#constant.php-output-handler-cleanable" class="link">PHP_OUTPUT_HANDLER_CLEANABLE</a>
   flag. Otherwise <span class="function"><strong>ob_clean()</strong></span> will not work.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ob-clean-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ob-clean-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.ob-flush.html" class="function" rel="rdfs-seeAlso">ob_flush()</a> - Flush (send) the output buffer</span></li>
    <li class="member"><span class="function"><a href="function.ob-end-flush.html" class="function" rel="rdfs-seeAlso">ob_end_flush()</a> - Flush (send) the output buffer and turn off output buffering</span></li>
    <li class="member"><span class="function"><a href="function.ob-end-clean.html" class="function" rel="rdfs-seeAlso">ob_end_clean()</a> - Clean (erase) the output buffer and turn off output buffering</span></li>
   </ul>
  </p>
 </div>
 

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.flush.html">flush</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ob-end-clean.html">ob_end_clean</a></div>
 <div class="up"><a href="ref.outcontrol.html">Output Control Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>