From: Stanislav Malyshev Date: Mon, 13 Apr 2009 19:21:28 +0000 (+0000) Subject: fix #47930 X-Git-Tag: php-5.3.0RC2~170 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d62333c7d686c6cc564f80ef93c854e22e95f14a;p=php fix #47930 --- diff --git a/ext/filter/filter.c b/ext/filter/filter.c index 62b9dbcb25..2f5049e6f9 100644 --- a/ext/filter/filter.c +++ b/ext/filter/filter.c @@ -138,7 +138,7 @@ zend_module_entry filter_module_entry = { filter_functions, PHP_MINIT(filter), PHP_MSHUTDOWN(filter), - NULL, + PHP_RINIT(filter), PHP_RSHUTDOWN(filter), PHP_MINFO(filter), "0.11.0", @@ -286,6 +286,20 @@ PHP_MSHUTDOWN_FUNCTION(filter) } /* }}} */ +/* {{{ PHP_RINIT_FUNCTION + */ +PHP_RINIT_FUNCTION(filter) +{ + IF_G(get_array) = NULL; + IF_G(post_array) = NULL; + IF_G(cookie_array) = NULL; + IF_G(server_array) = NULL; + IF_G(env_array) = NULL; + IF_G(session_array) = NULL; + return SUCCESS; +} +/* }}} */ + /* {{{ PHP_RSHUTDOWN_FUNCTION */ #define VAR_ARRAY_COPY_DTOR(a) \