diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2018-07-09 04:21:46 +0200 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2018-07-09 04:21:46 +0200 |
commit | 094c2aaf8371064528878f63e12b8347eefb2b71 (patch) | |
tree | 137c7ceefbfd749e32eac7cfbaa2e2ccc7df077c /ext/filter | |
parent | 529baa9a3d0a05b391af4ef038b590e23360be8f (diff) | |
download | php-git-094c2aaf8371064528878f63e12b8347eefb2b71.tar.gz |
The session_array global is not used at all, so comment it out for now
Diffstat (limited to 'ext/filter')
-rw-r--r-- | ext/filter/filter.c | 6 | ||||
-rw-r--r-- | ext/filter/php_filter.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ext/filter/filter.c b/ext/filter/filter.c index 724ec0bb6e..987e3e7ef5 100644 --- a/ext/filter/filter.c +++ b/ext/filter/filter.c @@ -200,7 +200,9 @@ ZEND_TSRMLS_CACHE_UPDATE(); ZVAL_UNDEF(&filter_globals->cookie_array); ZVAL_UNDEF(&filter_globals->env_array); ZVAL_UNDEF(&filter_globals->server_array); +#if 0 ZVAL_UNDEF(&filter_globals->session_array); +#endif filter_globals->default_filter = FILTER_DEFAULT; } /* }}} */ @@ -319,7 +321,9 @@ PHP_RSHUTDOWN_FUNCTION(filter) VAR_ARRAY_COPY_DTOR(cookie_array) VAR_ARRAY_COPY_DTOR(server_array) VAR_ARRAY_COPY_DTOR(env_array) +#if 0 VAR_ARRAY_COPY_DTOR(session_array) +#endif return SUCCESS; } /* }}} */ @@ -363,7 +367,9 @@ static unsigned int php_sapi_filter_init(void) ZVAL_UNDEF(&IF_G(cookie_array)); ZVAL_UNDEF(&IF_G(server_array)); ZVAL_UNDEF(&IF_G(env_array)); +#if 0 ZVAL_UNDEF(&IF_G(session_array)); +#endif return SUCCESS; } diff --git a/ext/filter/php_filter.h b/ext/filter/php_filter.h index 087aec8110..fc3f5b8836 100644 --- a/ext/filter/php_filter.h +++ b/ext/filter/php_filter.h @@ -60,7 +60,9 @@ ZEND_BEGIN_MODULE_GLOBALS(filter) zval cookie_array; zval env_array; zval server_array; +#if 0 zval session_array; +#endif zend_long default_filter; zend_long default_filter_flags; ZEND_END_MODULE_GLOBALS(filter) |