- Initialize all functions to non-static (patch by Marcus Börger

<marcus.boerger@t-online.de>.
This commit is contained in:
Derick Rethans 2002-11-22 10:49:46 +00:00
parent 4e78286eaf
commit 2a9f250ec7

View file

@ -1055,6 +1055,7 @@ int zend_register_functions(zend_function_entry *functions, HashTable *function_
internal_function->arg_types = ptr->func_arg_types; internal_function->arg_types = ptr->func_arg_types;
internal_function->function_name = ptr->fname; internal_function->function_name = ptr->fname;
internal_function->scope = NULL; internal_function->scope = NULL;
internal_function->is_static = 0;
if (!internal_function->handler) { if (!internal_function->handler) {
zend_error(error_type, "Null function defined as active function"); zend_error(error_type, "Null function defined as active function");
zend_unregister_functions(functions, count, target_function_table TSRMLS_CC); zend_unregister_functions(functions, count, target_function_table TSRMLS_CC);