mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Initialize all functions to non-static (patch by Marcus Börger
<marcus.boerger@t-online.de>.
This commit is contained in:
parent
4e78286eaf
commit
2a9f250ec7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue