diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-27 15:15:03 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-27 15:15:03 +0300 |
commit | d9f5ea691fef7686061e081034bd52c9cc1db444 (patch) | |
tree | b9097a3113992e415791daba84728014491edf1e /ext/reflection/php_reflection.c | |
parent | a6fcbb7c8709d20a471d81839e320693f7636a34 (diff) | |
download | php-git-d9f5ea691fef7686061e081034bd52c9cc1db444.tar.gz |
zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is initialized if zend_fcall_info_cache.function_handler is set).
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 4444c6ef7b..4a5674710f 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -1353,7 +1353,6 @@ static void _reflection_export(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *c fci.params = params; fci.no_separation = 1; - fcc.initialized = 1; fcc.function_handler = ce_ptr->constructor; fcc.calling_scope = ce_ptr; fcc.called_scope = Z_OBJCE(reflector); @@ -1880,7 +1879,6 @@ ZEND_METHOD(reflection_function, invoke) fci.params = params; fci.no_separation = 1; - fcc.initialized = 1; fcc.function_handler = fptr; fcc.calling_scope = zend_get_executed_scope(); fcc.called_scope = NULL; @@ -1941,7 +1939,6 @@ ZEND_METHOD(reflection_function, invokeArgs) fci.params = params; fci.no_separation = 1; - fcc.initialized = 1; fcc.function_handler = fptr; fcc.calling_scope = zend_get_executed_scope(); fcc.called_scope = NULL; @@ -3208,7 +3205,6 @@ static void reflection_method_invoke(INTERNAL_FUNCTION_PARAMETERS, int variadic) fci.params = params; fci.no_separation = 1; - fcc.initialized = 1; fcc.function_handler = mptr; fcc.calling_scope = obj_ce; fcc.called_scope = intern->ce; @@ -4770,7 +4766,6 @@ ZEND_METHOD(reflection_class, newInstance) fci.params = params; fci.no_separation = 1; - fcc.initialized = 1; fcc.function_handler = constructor; fcc.calling_scope = zend_get_executed_scope(); fcc.called_scope = Z_OBJCE_P(return_value); @@ -4872,7 +4867,6 @@ ZEND_METHOD(reflection_class, newInstanceArgs) fci.params = params; fci.no_separation = 1; - fcc.initialized = 1; fcc.function_handler = constructor; fcc.calling_scope = zend_get_executed_scope(); fcc.called_scope = Z_OBJCE_P(return_value); |