Skip to content

Commit d2635b1

Browse files
authored
Remove unused php_std_auto_global_callback() (#13656)
Introduced in 4e55747 but not used in current code. There was previous removal attempt via afa4e41 but looks like it didn't make it into the master branch at that point.
1 parent edbef3e commit d2635b1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

main/php_variables.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -641,12 +641,6 @@ void _php_load_environment_variables(zval *array_ptr)
641641
php_import_environment_variables(array_ptr);
642642
}
643643

644-
bool php_std_auto_global_callback(char *name, uint32_t name_len)
645-
{
646-
zend_printf("%s\n", name);
647-
return 0; /* don't rearm */
648-
}
649-
650644
/* {{{ php_build_argv */
651645
PHPAPI void php_build_argv(const char *s, zval *track_vars_array)
652646
{

0 commit comments

Comments
 (0)