summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-11-22 10:49:46 +0000
committerDerick Rethans <derick@php.net>2002-11-22 10:49:46 +0000
commit2a9f250ec76b1ef94bfbac7fcbec2cd6a8a89db0 (patch)
treee7622b6e31ddb63f685222c7a770e615297c4e6c /Zend
parent4e78286eafc19a516eb8d234b9eff530513bffc3 (diff)
downloadphp-git-2a9f250ec76b1ef94bfbac7fcbec2cd6a8a89db0.tar.gz
- Initialize all functions to non-static (patch by Marcus Börger
<marcus.boerger@t-online.de>.
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_API.c1
1 files changed, 1 insertions, 0 deletions
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);