summaryrefslogtreecommitdiff
path: root/sapi/apache/sapi_apache.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-07-29 14:46:09 +0000
committerZeev Suraski <zeev@php.net>2000-07-29 14:46:09 +0000
commit52ff887db511cd393b04468e2b0a4b77859f5bd5 (patch)
treeea043e7551c9262b3ee22ee295d6b9b1e3f0808d /sapi/apache/sapi_apache.c
parentd8a4278ab498ae49f342f246b6a1634d4809143b (diff)
downloadphp-git-52ff887db511cd393b04468e2b0a4b77859f5bd5.tar.gz
Made ob_start() and friends reentrant. It's now possible to implement this
long-requested functionality, now that output buffering is re-entrant: function eval_ret($code) { ob_start(); eval($code); $retval = ob_get_contents(); ob_end_clean(); return $retval; }
Diffstat (limited to 'sapi/apache/sapi_apache.c')
-rw-r--r--sapi/apache/sapi_apache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache/sapi_apache.c b/sapi/apache/sapi_apache.c
index d9c3c7674b..52e6002c31 100644
--- a/sapi/apache/sapi_apache.c
+++ b/sapi/apache/sapi_apache.c
@@ -89,7 +89,7 @@ int apache_php_module_main(request_rec *r, int display_source_mode CLS_DC ELS_DC
}
php_header(); /* Make sure headers have been sent */
- php_end_ob_buffering(1);
+ php_end_ob_buffers(1);
return (OK);
}