From: Stanislav Malyshev Date: Mon, 13 Apr 2009 19:24:52 +0000 (+0000) Subject: fix #47930 X-Git-Tag: php-5.4.0alpha1~191^2~3926 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=821c37139df921d0f6ad4f57fa4f4ded02c3af40;p=php fix #47930 --- diff --git a/ext/filter/filter.c b/ext/filter/filter.c index e8b98fb3d1..d474238229 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) \