1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

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