We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5df1b4 commit 696ac99Copy full SHA for 696ac99
ext/opcache/modules.c
@@ -948,11 +948,14 @@ static zend_result zum_check_deps(zend_user_module *module,
948
}
949
} ZEND_HASH_FOREACH_END();
950
zend_function *function;
951
- ZEND_HASH_MAP_FOREACH_PTR(&persistent_script->script.function_table, function) {
+ ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&persistent_script->script.function_table, key, function) {
952
if (UNEXPECTED(zum_check_deps_op_array(module, &function->op_array) == FAILURE)) {
953
ZEND_ASSERT(EG(exception));
954
goto failure;
955
956
+
957
+ ZEND_ASSERT(function->type == ZEND_USER_FUNCTION);
958
+ zend_hash_add_ptr(&module->function_table, key, function);
959
960
961
0 commit comments