summaryrefslogtreecommitdiff
path: root/main/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/output.c')
-rw-r--r--main/output.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/output.c b/main/output.c
index b42809fcbc..ed0ea5d53b 100644
--- a/main/output.c
+++ b/main/output.c
@@ -1502,6 +1502,14 @@ PHP_FUNCTION(output_add_rewrite_var)
}
/* }}} */
+/* {{{ php_output_handler* php_get_active_output_handler(TSRMLS_D)
+ * Get active output handler */
+PHPAPI php_output_handler* php_get_active_output_handler(TSRMLS_D)
+{
+ return OG(active);
+}
+/* }}} */
+
/*
* Local variables:
* tab-width: 4