1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 03:22:58 +02:00

Initialize all struct members: Necessary for reflection

This commit is contained in:
Marcus Boerger
2003-08-02 19:03:14 +00:00
parent d2bf1c1338
commit 4f1e331c4d

View File

@@ -1145,6 +1145,7 @@ int zend_register_functions(zend_class_entry *scope, zend_function_entry *functi
char *lowercase_name;
int fname_len;
memset(internal_function, 0, sizeof(zend_function));
if (type==MODULE_PERSISTENT) {
error_type = E_CORE_WARNING;
} else {