mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Make array.c thread-safe
This commit is contained in:
parent
fce775e8a3
commit
3b515617a4
5 changed files with 51 additions and 52 deletions
|
@ -394,6 +394,8 @@ PHP_RINIT_FUNCTION(basic)
|
|||
|
||||
BG(strtok_string) = NULL;
|
||||
BG(locale_string) = NULL;
|
||||
BG(user_compare_func_name) = NULL;
|
||||
BG(array_walk_func_name) = NULL;
|
||||
#ifdef HAVE_PUTENV
|
||||
if (zend_hash_init(&BG(putenv_ht), 1, NULL, (int (*)(void *)) _php3_putenv_destructor, 0) == FAILURE) {
|
||||
return FAILURE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue