mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
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().
This commit is contained in:
parent
114c544b9b
commit
6c7202e116
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user