mirror of
https://github.com/php/php-src.git
synced 2026-03-28 02:02:32 +01:00
- Tray fixing #35088
This commit is contained in:
@@ -448,7 +448,11 @@ PHP_FUNCTION(spl_autoload_register)
|
||||
zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &spl_func_ptr);
|
||||
|
||||
if (EG(autoload_func) == spl_func_ptr) { /* registered already, so we insert that first */
|
||||
autoload_func_info spl_alfi = {spl_func_ptr, NULL, NULL};
|
||||
autoload_func_info spl_alfi;
|
||||
|
||||
spl_alfi.func_ptr = spl_func_ptr;
|
||||
spl_alfi.obj = NULL;
|
||||
spl_alfi.ce = NULL;
|
||||
zend_hash_add(SPL_G(autoload_functions), "spl_autoload", sizeof("spl_autoload"), &spl_alfi, sizeof(autoload_func_info), NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user