mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
Don't forget to flush() buffers for -w -s
This commit is contained in:
@@ -1573,6 +1573,7 @@ consult the installation file that came with this distribution, or visit \n\
|
||||
if (open_file_for_scanning(&file_handle TSRMLS_CC) == SUCCESS) {
|
||||
zend_strip(TSRMLS_C);
|
||||
fclose(file_handle.handle.fp);
|
||||
php_end_ob_buffers(1 TSRMLS_CC);
|
||||
}
|
||||
return SUCCESS;
|
||||
break;
|
||||
@@ -1584,6 +1585,7 @@ consult the installation file that came with this distribution, or visit \n\
|
||||
php_get_highlight_struct(&syntax_highlighter_ini);
|
||||
zend_highlight(&syntax_highlighter_ini TSRMLS_CC);
|
||||
fclose(file_handle.handle.fp);
|
||||
php_end_ob_buffers(1 TSRMLS_CC);
|
||||
}
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user