cvs: phpdoc /en/functions outcontrol.xml

From: Date: Mon, 25 Mar 2002 01:29:56 +0000
Subject: cvs: phpdoc /en/functions outcontrol.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969343415@lists.php.net to get a copy of this message
yohgaki Sun Mar 24 20:29:56 2002 EDT Modified files: /phpdoc/en/functions outcontrol.xml Log: Add ob_start() callback function limitations. Index: phpdoc/en/functions/outcontrol.xml diff -u phpdoc/en/functions/outcontrol.xml:1.26 phpdoc/en/functions/outcontrol.xml:1.27 --- phpdoc/en/functions/outcontrol.xml:1.26 Sat Feb 2 10:36:06 2002 +++ phpdoc/en/functions/outcontrol.xml Sun Mar 24 20:29:56 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> +<!-- $Revision: 1.27 $ --> <reference id="ref.outcontrol"> <title>Output Control Functions</title> <titleabbrev>Output Control</titleabbrev> @@ -151,6 +151,15 @@ the appropriate number of times. If multiple output callback functions are active, output is being filtered sequentially through each of them in nesting order. + </para> + <para> + <function>ob_end_clean</function>, + <function>ob_end_flush</function>, <function>ob_clean</function>, + <function>ob_flush</function> and <function>ob_start</function> + may not be called from callback function. If you call them from + callback function, behavior is undefined. If you would like to + delete buffer contents, return "" (null string) from callback + function. </para> <example> <title>User defined callback function example</title>

« previous php.doc (#969343415) next »