cvs: php4 /main output.c

From: Date: Thu, 03 Oct 2002 08:54:14 +0000
Subject: cvs: php4 /main output.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14448@lists.php.net to get a copy of this message
yohgaki Thu Oct 3 04:54:14 2002 EDT Modified files: /php4/main output.c Log: Added comment for php_output_set_status(). Please use this function if you would like to prevent unwanted flush by implicit_flush=On or ob_implicit_flush(). Index: php4/main/output.c diff -u php4/main/output.c:1.133 php4/main/output.c:1.134 --- php4/main/output.c:1.133 Thu Oct 3 03:17:13 2002 +++ php4/main/output.c Thu Oct 3 04:54:13 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: output.c,v 1.133 2002/10/03 07:17:13 yohgaki Exp $ */ +/* $Id: output.c,v 1.134 2002/10/03 08:54:13 yohgaki Exp $ */ #include "php.h" #include "ext/standard/head.h" @@ -94,7 +94,10 @@ /* {{{ php_output_set_status - Toggle output status */ + Toggle output status. Use this function for internal functions uses + buffers. If you don't implict flush (both php.ini implicit_flush and ob_impilict_flush()) + may flush your php_printf() output. + status: 0 for disable output, 1 for enable.*/ PHPAPI void php_output_set_status(zend_bool status TSRMLS_DC) { OG(disable_output) = !status;

« previous php.cvs (#14448) next »