com php-src: Reset common fields of EG(trampoline): Zend/zend_object_handlers.c

From: Date: Mon, 04 Feb 2019 10:57:03 +0000
Subject: com php-src: Reset common fields of EG(trampoline): Zend/zend_object_handlers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104438@lists.php.net to get a copy of this message
Commit: 223d535d05c01a71613d671dc54b053b81f978d0 Author: Dmitry Stogov <dmitry@zend.com> Mon, 4 Feb 2019 13:57:03 +0300 Parents: 92ac598aabd336593a47ed3959f1031674b763e6 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=223d535d05c01a71613d671dc54b053b81f978d0 Log: Reset common fields of EG(trampoline) Changed paths: M Zend/zend_object_handlers.c Diff: diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index b252c4e..37b978a 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -1237,6 +1237,11 @@ ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend func->function_name = zend_string_copy(method_name); } + func->prototype = NULL; + func->num_args = 0; + func->required_num_args = 0; + func->arg_info = 0; + return (zend_function*)func; } /* }}} */

« previous php.cvs (#104438) next »