From: Derick Rethans Date: Fri, 22 Nov 2002 10:49:46 +0000 (+0000) Subject: - Initialize all functions to non-static (patch by Marcus Börger X-Git-Tag: RELEASE_1_0b2~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a9f250ec76b1ef94bfbac7fcbec2cd6a8a89db0;p=php - Initialize all functions to non-static (patch by Marcus Börger . --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 030ca9489f..47a284da16 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1055,6 +1055,7 @@ int zend_register_functions(zend_function_entry *functions, HashTable *function_ internal_function->arg_types = ptr->func_arg_types; internal_function->function_name = ptr->fname; internal_function->scope = NULL; + internal_function->is_static = 0; if (!internal_function->handler) { zend_error(error_type, "Null function defined as active function"); zend_unregister_functions(functions, count, target_function_table TSRMLS_CC);