cvs: phpdoc /en/reference/outcontrol/functions flush.xml
| From: | Rasmus Lerdorf | Date: | Thu, 02 Jul 2009 05:40:04 +0000 |
| Subject: | cvs: phpdoc /en/reference/outcontrol/functions flush.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4317@lists.php.net to get a copy of this message | ||
rasmus Thu Jul 2 05:40:04 2009 UTC
Modified files:
/phpdoc/en/reference/outcontrol/functions flush.xml
Log:
This sentence about needing to call both ob_flush() and flush() didn't
make much sense.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/outcontrol/functions/flush.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/outcontrol/functions/flush.xml
diff -u phpdoc/en/reference/outcontrol/functions/flush.xml:1.8
phpdoc/en/reference/outcontrol/functions/flush.xml:1.9
--- phpdoc/en/reference/outcontrol/functions/flush.xml:1.8 Wed Jun 20 22:25:09 2007
+++ phpdoc/en/reference/outcontrol/functions/flush.xml Thu Jul 2 05:40:04 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.flush">
<refnamediv>
<refname>flush</refname>
@@ -13,15 +13,16 @@
<void/>
</methodsynopsis>
<para>
- Flushes the output buffers of PHP and whatever backend PHP is using (CGI,
+ Flushes the write 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.
</para>
<para>
<function>flush</function> has no effect on the buffering scheme of your
- web server or the browser on the client side.
- Thus you need to call both <function>ob_flush</function> and
- <function>flush</function> to flush the output buffers.
+ web server nor the browser on the client side. And it also doesn't affect
+ PHP's userspace output buffering mechanism. This means you will have to
+ call both <function>ob_flush</function> and <function>flush</function>
to
+ flush the ob output buffers.
</para>
<para>
Several servers, especially on Win32, will still buffer the output from