mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
reverted because of test failures
This commit is contained in:
parent
7d1cd6a94b
commit
c1e0866da3
@ -336,13 +336,7 @@ PHPAPI void php_end_ob_buffer(zend_bool send_buffer, zend_bool just_flush TSRMLS
|
||||
PHPAPI void php_end_ob_buffers(zend_bool send_buffer TSRMLS_DC)
|
||||
{
|
||||
while (OG(ob_nesting_level)!=0) {
|
||||
/* in case of unclean_shutdown, do not output the buffer if it is not
|
||||
* meant to be until end of script or ob_end_*() call */
|
||||
if (CG(unclean_shutdown) && !OG(active_ob_buffer).chunk_size) {
|
||||
php_end_ob_buffer(0, 0 TSRMLS_CC);
|
||||
} else {
|
||||
php_end_ob_buffer(send_buffer, 0 TSRMLS_CC);
|
||||
}
|
||||
php_end_ob_buffer(send_buffer, 0 TSRMLS_CC);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user