mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-22 11:58:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132015 c90b9560-bf6c-de11-be94-00142212c4b1
70 lines
2.2 KiB
XML
70 lines
2.2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -->
|
|
<refentry id="function.flush">
|
|
<refnamediv>
|
|
<refname>flush</refname>
|
|
<refpurpose>Flush the output buffer</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>void</type><methodname>flush</methodname>
|
|
<void/>
|
|
</methodsynopsis>
|
|
<simpara>
|
|
Flushes the output buffers of PHP and whatever backend PHP is
|
|
using (CGI, a web server, etc). This effectively tries to push
|
|
all the output so far to the user's browser.
|
|
</simpara>
|
|
<para>
|
|
<function>flush</function> has no effect on the buffering
|
|
scheme of your webserver or the browser on the client
|
|
side.
|
|
</para>
|
|
<para>
|
|
Several servers, especially on Win32, will still buffer
|
|
the output from your script until it terminates before
|
|
transmitting the results to the browser.
|
|
</para>
|
|
<para>
|
|
Server modules for Apache like mod_gzip may do buffering of their own
|
|
that will cause <function>flush</function> to not result in data being
|
|
sent immediately to the client.
|
|
</para>
|
|
<para>
|
|
Even the browser may buffer its input before displaying it.
|
|
Netscape, for example, buffers text until it receives an
|
|
end-of-line or the beginning of a tag, and it won't render
|
|
tables until the </table> tag of the outermost table is
|
|
seen.
|
|
</para>
|
|
<para>
|
|
Some versions of Microsoft Internet Explorer will only start to display
|
|
the page after they have received 256 bytes of output, so you may need to
|
|
send extra whitespace before flushing to get those browsers to display the
|
|
page.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|