summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-19 15:24:29 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-19 15:33:03 +0200
commit9426c6e9679e60665f7ed95bccc1e8bc6ce74b2f (patch)
tree4d1f8e5e33e9bc254cd6bb1257357289eed1f03d /ext/standard/basic_functions.c
parentd1845ac008c195248359f73a7b4fd31c1793ed41 (diff)
downloadphp-git-9426c6e9679e60665f7ed95bccc1e8bc6ce74b2f.tar.gz
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().
Diffstat (limited to 'ext/standard/basic_functions.c')
-rwxr-xr-xext/standard/basic_functions.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 14b80c57aa..82a4cbb1bf 100755
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -463,8 +463,6 @@ PHP_RINIT_FUNCTION(basic) /* {{{ */
BG(strtok_last) = NULL;
BG(ctype_string) = NULL;
BG(locale_changed) = 0;
- BG(array_walk_fci) = empty_fcall_info;
- BG(array_walk_fci_cache) = empty_fcall_info_cache;
BG(user_compare_fci) = empty_fcall_info;
BG(user_compare_fci_cache) = empty_fcall_info_cache;
BG(page_uid) = -1;