diff options
author | Zeev Suraski <zeev@php.net> | 2001-03-17 03:05:07 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-03-17 03:05:07 +0000 |
commit | 1ab8f39f47ab54245d2eedb738f8cb9debb9f34c (patch) | |
tree | e03caae487ac3fc5fca717b81365f28dfcee957a | |
parent | 6a6318d4bef75950b91e6ca4b6de681019d860af (diff) | |
download | php-git-1ab8f39f47ab54245d2eedb738f8cb9debb9f34c.tar.gz |
MFH
-rw-r--r-- | ext/standard/output.c | 1 | ||||
-rw-r--r-- | main/output.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/output.c b/ext/standard/output.c index 7c25b73603..3180c912a7 100644 --- a/ext/standard/output.c +++ b/ext/standard/output.c @@ -157,6 +157,7 @@ PHPAPI void php_end_ob_buffer(zend_bool send_buffer, zend_bool just_flush) orig_buffer->value.str.len = OG(active_ob_buffer).text_length; orig_buffer->type = IS_STRING; orig_buffer->refcount=2; /* don't let call_user_function() destroy our buffer */ + orig_buffer->is_ref=1; ALLOC_INIT_ZVAL(z_status); Z_TYPE_P(z_status) = IS_LONG; diff --git a/main/output.c b/main/output.c index 7c25b73603..3180c912a7 100644 --- a/main/output.c +++ b/main/output.c @@ -157,6 +157,7 @@ PHPAPI void php_end_ob_buffer(zend_bool send_buffer, zend_bool just_flush) orig_buffer->value.str.len = OG(active_ob_buffer).text_length; orig_buffer->type = IS_STRING; orig_buffer->refcount=2; /* don't let call_user_function() destroy our buffer */ + orig_buffer->is_ref=1; ALLOC_INIT_ZVAL(z_status); Z_TYPE_P(z_status) = IS_LONG; |