<?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 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.ob-implicit-flush.php',
    1 => 'ob_implicit_flush',
    2 => '打开/关闭绝对刷送',
  ),
  'up' => 
  array (
    0 => 'ref.outcontrol.php',
    1 => '输出控制 函数',
  ),
  'prev' => 
  array (
    0 => 'function.ob-get-status.php',
    1 => 'ob_get_status',
  ),
  'next' => 
  array (
    0 => 'function.ob-list-handlers.php',
    1 => 'ob_list_handlers',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/outcontrol/functions/ob-implicit-flush.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ob-implicit-flush" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ob_implicit_flush</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ob_implicit_flush</span> &mdash; <span class="dc-title">打开/关闭绝对刷送</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.ob-implicit-flush-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ob_implicit_flush</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$enable</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong></span></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>ob_implicit_flush()</strong></span> 将打开或关闭绝对（隐式）刷送。绝对（隐式）刷送将在每个代码块产生输出后执行刷新操作，以便不再手动调用 <span class="function"><a href="function.flush.php" class="function">flush()</a></span>。
  </p>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <span class="simpara">
    打印空字符串或发送 header 不会视为输出，因此不会产生刷新操作。
   </span>
  </p></blockquote>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <span class="simpara">
    此函数对用户级输出处理程序（例如由 <span class="function"><a href="function.ob-start.php" class="function">ob_start()</a></span> 或 <span class="function"><a href="function.output-add-rewrite-var.php" class="function">output_add_rewrite_var()</a></span> 启动的处理程序）没有任何影响。
   </span>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ob-implicit-flush-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">enable</code></dt>
     <dd>
      <p class="para">
        设为 <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> 打开绝对刷送，反之是  <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>。
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ob-implicit-flush-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.ob-implicit-flush-changelog">
  <h3 class="title">更新日志</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>版本</th>
      <th>说明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">enable</code> 现在需要 <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> 值；之前，需要 <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>。
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.ob-implicit-flush-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.flush.php" class="function" rel="rdfs-seeAlso">flush()</a> - 冲刷系统输出缓冲区</span></li>
    <li><span class="function"><a href="function.ob-start.php" class="function" rel="rdfs-seeAlso">ob_start()</a> - 打开输出控制缓冲</span></li>
    <li><span class="function"><a href="function.ob-end-flush.php" class="function" rel="rdfs-seeAlso">ob_end_flush()</a> - 冲刷（发送）活动输出处理程序的返回值，并关闭活动输出缓冲区</span></li>
   </ul>
  </p>
 </div>


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