]> granicus.if.org Git - php/commitdiff
Added comment for php_output_set_status().
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 3 Oct 2002 08:54:13 +0000 (08:54 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 3 Oct 2002 08:54:13 +0000 (08:54 +0000)
Please use this function if you would like to prevent unwanted flush
by implicit_flush=On or ob_implicit_flush().

main/output.c

index d266a9624a131d92af4fc62aa2a787ceaf4b4e25..91523341098cdbcf14459b66a486a7c29c1603af 100644 (file)
@@ -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;