- Added BG(serialize) and BG(unserialize) initialization

This commit is contained in:
Felipe Pena 2010-06-03 15:08:06 +00:00
parent 089ba2acc1
commit f9cc8faa3c

View File

@ -3428,6 +3428,9 @@ static void basic_globals_ctor(php_basic_globals *basic_globals_p TSRMLS_DC) /*
BG(user_tick_functions) = NULL;
BG(user_filter_map) = NULL;
memset(&BG(serialize), 0, sizeof(BG(serialize)));
memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex)));
#if defined(_REENTRANT) && defined(HAVE_MBRLEN) && defined(HAVE_MBSTATE_T)