From 6c7202e1160d3dddd560bdf0e8d37749d7ff58b8 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 3 Oct 2002 08:54:13 +0000 Subject: [PATCH] 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(). --- main/output.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/output.c b/main/output.c index d266a9624a1..91523341098 100644 --- a/main/output.c +++ b/main/output.c @@ -94,7 +94,10 @@ PHPAPI void php_output_activate(TSRMLS_D) /* {{{ 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;