svn: /phpdoc/en/trunk/reference/outcontrol/functions/ ob-clean.xml ob-end-clean.xml ob-end-flush.xml ob-get-clean.xml ob-get-flush.xml
| From: | Yasuo Ohgaki | Date: | Wed, 16 Jul 2014 01:35:26 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/outcontrol/functions/ ob-clean.xml ob-end-clean.xml ob-end-flush.xml ob-get-clean.xml ob-get-flush.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12607@lists.php.net to get a copy of this message | ||
yohgaki Wed, 16 Jul 2014 01:35:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334288
Log:
Fixed bug #66758
Bug: https://bugs.php.net/66758 (Re-Opened) Flags and
control output buffering functions
Changed paths:
U phpdoc/en/trunk/reference/outcontrol/functions/ob-clean.xml
U phpdoc/en/trunk/reference/outcontrol/functions/ob-end-clean.xml
U phpdoc/en/trunk/reference/outcontrol/functions/ob-end-flush.xml
U phpdoc/en/trunk/reference/outcontrol/functions/ob-get-clean.xml
U phpdoc/en/trunk/reference/outcontrol/functions/ob-get-flush.xml
Modified: phpdoc/en/trunk/reference/outcontrol/functions/ob-clean.xml
===================================================================
--- phpdoc/en/trunk/reference/outcontrol/functions/ob-clean.xml 2014-07-15 19:15:28 UTC (rev 334287)
+++ phpdoc/en/trunk/reference/outcontrol/functions/ob-clean.xml 2014-07-16 01:35:26 UTC (rev 334288)
@@ -19,6 +19,12 @@
This function does not destroy the output buffer like
<function>ob_end_clean</function> does.
</para>
+ <para>
+ The output buffer must be started by
+ <function>ob_start</function> with <link
+
linkend="constant.php-output-handler-cleanable">PHP_OUTPUT_HANDLER_CLEANABLE</link>
+ flag. Otherwise <function>ob_clean</function> will not work.
+ </para>
</refsect1>
<refsect1 role="returnvalues">
Modified: phpdoc/en/trunk/reference/outcontrol/functions/ob-end-clean.xml
===================================================================
--- phpdoc/en/trunk/reference/outcontrol/functions/ob-end-clean.xml 2014-07-15 19:15:28 UTC (rev
334287)
+++ phpdoc/en/trunk/reference/outcontrol/functions/ob-end-clean.xml 2014-07-16 01:35:26 UTC (rev
334288)
@@ -19,6 +19,14 @@
<function>ob_end_clean</function> as the buffer contents are discarded
when <function>ob_end_clean</function> is called.
</para>
+ <para>
+ The output buffer must be started by
+ <function>ob_start</function> with <link
+
linkend="constant.php-output-handler-cleanable">PHP_OUTPUT_HANDLER_CLEANABLE</link>
+ and <link
+
linkend="constant.php-output-handler-removable">PHP_OUTPUT_HANDLER_REMOVABLE</link>
+ flags. Otherwise <function>ob_end_clean</function> will not work.
+ </para>
</refsect1>
<refsect1 role="returnvalues">
Modified: phpdoc/en/trunk/reference/outcontrol/functions/ob-end-flush.xml
===================================================================
--- phpdoc/en/trunk/reference/outcontrol/functions/ob-end-flush.xml 2014-07-15 19:15:28 UTC (rev
334287)
+++ phpdoc/en/trunk/reference/outcontrol/functions/ob-end-flush.xml 2014-07-16 01:35:26 UTC (rev
334288)
@@ -20,6 +20,14 @@
<function>ob_end_flush</function> as the buffer contents are
discarded after <function>ob_end_flush</function> is called.
</para>
+ <para>
+ The output buffer must be started by
+ <function>ob_start</function> with <link
+
linkend="constant.php-output-handler-flushable">PHP_OUTPUT_HANDLER_FLUSHABLE</link>
+ and <link
+
linkend="constant.php-output-handler-removable">PHP_OUTPUT_HANDLER_REMOVABLE</link>
+ flags. Otherwise <function>ob_end_flush</function> will not work.
+ </para>
<note>
<simpara>
This function is similar to <function>ob_get_flush</function>, except
Modified: phpdoc/en/trunk/reference/outcontrol/functions/ob-get-clean.xml
===================================================================
--- phpdoc/en/trunk/reference/outcontrol/functions/ob-get-clean.xml 2014-07-15 19:15:28 UTC (rev
334287)
+++ phpdoc/en/trunk/reference/outcontrol/functions/ob-get-clean.xml 2014-07-16 01:35:26 UTC (rev
334288)
@@ -20,6 +20,12 @@
<function>ob_get_contents</function> and
<function>ob_end_clean</function>.
</para>
+ <para>
+ The output buffer must be started by
+ <function>ob_start</function> with <link
+
linkend="constant.php-output-handler-cleanable">PHP_OUTPUT_HANDLER_CLEANABLE</link>
+ flag. Otherwise <function>ob_get_clean</function> will not work.
+ </para>
</refsect1>
<refsect1 role="returnvalues">
Modified: phpdoc/en/trunk/reference/outcontrol/functions/ob-get-flush.xml
===================================================================
--- phpdoc/en/trunk/reference/outcontrol/functions/ob-get-flush.xml 2014-07-15 19:15:28 UTC (rev
334287)
+++ phpdoc/en/trunk/reference/outcontrol/functions/ob-get-flush.xml 2014-07-16 01:35:26 UTC (rev
334288)
@@ -16,6 +16,12 @@
<function>ob_get_flush</function> flushes the output buffer, return
it as a string and turns off output buffering.
</para>
+ <para>
+ The output buffer must be started by
+ <function>ob_start</function> with <link
+
linkend="constant.php-output-handler-flushable">PHP_OUTPUT_HANDLER_FLUSHABLE</link>
+ flag. Otherwise <function>ob_get_flush</function> will not work.
+ </para>
<note>
<simpara>
This function is similar to <function>ob_end_flush</function>, except