diff options
author | Stanislav Malyshev <stas@php.net> | 2002-04-24 16:53:07 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2002-04-24 16:53:07 +0000 |
commit | 68e5f549c06d7dd47e995855580b35e7f7bf840e (patch) | |
tree | 5eceaae62cd93bf7b94ee25e3cc799faf7e187ea | |
parent | 8bf59c8fd0a0988680791ed793af84fd6a7a2a74 (diff) | |
download | php-git-68e5f549c06d7dd47e995855580b35e7f7bf840e.tar.gz |
Init output_start_* to avoid "output started at ZZZZZ" messages
(which may result when output started while zend is neither compiling nor
executing - e.g., when file upload fails).
-rw-r--r-- | main/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/output.c b/main/output.c index d510c11b67..fcc70e6954 100644 --- a/main/output.c +++ b/main/output.c @@ -77,6 +77,8 @@ PHPAPI void php_output_activate(TSRMLS_D) OG(ob_nesting_level) = 0; OG(ob_lock) = 0; OG(disable_output) = 0; + OG(output_start_filename) = NULL; + OG(output_start_lineno) = 0; } |