Don't use global for array_walk_fci

There's really no good reason for this to be a global, we can
easily pass it down to php_array_walk().
This commit is contained in:
Nikita Popov 2020-10-19 15:24:29 +02:00
parent d1845ac008
commit 9426c6e967
3 changed files with 24 additions and 49 deletions

View file

@ -66,8 +66,6 @@ typedef struct _php_basic_globals {
char *strtok_last;
char strtok_table[256];
size_t strtok_len;
zend_fcall_info array_walk_fci;
zend_fcall_info_cache array_walk_fci_cache;
zend_fcall_info user_compare_fci;
zend_fcall_info_cache user_compare_fci_cache;
zend_llist *user_tick_functions;