summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r--ext/standard/basic_functions.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index b8310462fc..8033e577b8 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -734,6 +734,7 @@ function_entry basic_functions[] = {
PHP_FE(ob_end_clean, NULL)
PHP_FE(ob_get_length, NULL)
PHP_FE(ob_get_level, NULL)
+ PHP_FE(ob_get_status, NULL)
PHP_FE(ob_get_contents, NULL)
PHP_FE(ob_implicit_flush, NULL)
@@ -1883,7 +1884,7 @@ PHP_FUNCTION(highlight_file)
convert_to_string(filename);
if (i) {
- php_start_ob_buffer (NULL, 0 TSRMLS_CC);
+ php_start_ob_buffer (NULL, 0, 1 TSRMLS_CC);
}
php_get_highlight_struct(&syntax_highlighter_ini);
@@ -1916,7 +1917,7 @@ PHP_FUNCTION(highlight_string)
convert_to_string(expr);
if (i) {
- php_start_ob_buffer (NULL, 0 TSRMLS_CC);
+ php_start_ob_buffer (NULL, 0, 1 TSRMLS_CC);
}
php_get_highlight_struct(&syntax_highlighter_ini);