uTools-Manuals/docs/php/ob_flush.html
2019-04-28 19:00:34 +08:00

52 lines
2.8 KiB
HTML

<!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>冲刷出(送出)输出缓冲区中的内容</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><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)</p><p class="refpurpose"><span class="refname">ob_flush</span> &mdash; <span class="dc-title">冲刷出(送出)输出缓冲区中的内容</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.ob-flush-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>ob_flush</strong></span>
( <span class="methodparam">void</span>
) : <span class="type"><span class="type void">void</span></span></div>
<p class="para rdfs-comment">
这个函数将送出缓冲区的内容(如果里边有内容的话)。如果想进一步处理缓冲区中的内容,必须在<span class="function"><strong>ob_flush()</strong></span>之前调用<span class="function"><a href="ob_get_contents.html" class="function">ob_get_contents()</a></span> ,因为在调用<span class="function"><strong>ob_flush()</strong></span>之后缓冲区内容将被丢弃。
</p>
<p class="para">
此函数不会销毁输出缓冲区,而像<span class="function"><a href="ob_end_flush.html" class="function">ob_end_flush()</a></span> 函数会销毁缓冲区。
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.ob-flush-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
没有返回值。
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.ob-flush-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="ob_get_contents.html" class="function" rel="rdfs-seeAlso">ob_get_contents()</a> - 返回输出缓冲区的内容</span></li>
<li class="member"><span class="function"><a href="ob_clean.html" class="function" rel="rdfs-seeAlso">ob_clean()</a> - 清空(擦掉)输出缓冲区</span></li>
<li class="member"><span class="function"><a href="ob_end_flush.html" class="function" rel="rdfs-seeAlso">ob_end_flush()</a> - 冲刷出(送出)输出缓冲区内容并关闭缓冲</span></li>
<li class="member"><span class="function"><a href="ob_end_clean.html" class="function" rel="rdfs-seeAlso">ob_end_clean()</a> - 清空(擦除)缓冲区并关闭输出缓冲</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>