1
0
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:
Marcus Boerger
2005-11-03 21:58:42 +00:00
parent 3243167b45
commit e2ea55ccbe

View File

@@ -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);
}