Remove unused php_std_auto_global_callback() (#13656)

Introduced in 4e55747a2b but not used in
current code. There was previous removal attempt via
afa4e41c2f but looks like it didn't make
it into the master branch at that point.
This commit is contained in:
Peter Kokot 2024-03-10 18:05:51 +01:00 committed by GitHub
parent edbef3e4ac
commit d2635b10b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -641,12 +641,6 @@ void _php_load_environment_variables(zval *array_ptr)
php_import_environment_variables(array_ptr); php_import_environment_variables(array_ptr);
} }
bool php_std_auto_global_callback(char *name, uint32_t name_len)
{
zend_printf("%s\n", name);
return 0; /* don't rearm */
}
/* {{{ php_build_argv */ /* {{{ php_build_argv */
PHPAPI void php_build_argv(const char *s, zval *track_vars_array) PHPAPI void php_build_argv(const char *s, zval *track_vars_array)
{ {