From b72c4ddeaa928a4b8186754d8150305839cb8570 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sat, 28 Jun 2003 07:24:36 +0000 Subject: [PATCH] - Document return value and the linked version note. (Bug #24346) #- The callback stuff should still be documented, so I'm not closing the bug # yet git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133485 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/outcontrol/functions/ob-start.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/reference/outcontrol/functions/ob-start.xml b/reference/outcontrol/functions/ob-start.xml index 27ab4509b3..7ee4430649 100644 --- a/reference/outcontrol/functions/ob-start.xml +++ b/reference/outcontrol/functions/ob-start.xml @@ -1,5 +1,5 @@ - + @@ -9,7 +9,7 @@ Description - voidob_start + boolob_start callback output_callback @@ -36,7 +36,8 @@ output_callback is called, it will receive the contents of the output buffer as its parameter and is expected to return a new output buffer as a result, which will be - sent to the browser. + sent to the browser. If the output_callback is not + a callable function, thos function will return &false;. @@ -47,6 +48,12 @@ and will return it's output accordingly. + + + Before PHP 4.3.2 this function did not return &false; in case the passed + output_callback can not be executed. + + Output buffers are stackable, that is, you may call ob_start while another