diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-05-03 19:27:04 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-05-03 19:27:04 +0300 |
commit | eafa92ba9d315106dede5aa154f81d0a4b34fe57 (patch) | |
tree | f41dd0d7576592548fe636034ed2986eb3bb62e0 /ext/mysqli/mysqli.c | |
parent | fdb347a7539bde2c02b7efaae25583581c77b88e (diff) | |
download | php-git-eafa92ba9d315106dede5aa154f81d0a4b34fe57.tar.gz |
zend_fcall_info_cache.calling_scope is not used by zend_call_function() and doesn't have to be initialized.
It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
Diffstat (limited to 'ext/mysqli/mysqli.c')
-rw-r--r-- | ext/mysqli/mysqli.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 83e956ebdf..0c97ec33e8 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -1304,7 +1304,6 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags } fcc.function_handler = ce->constructor; - fcc.calling_scope = zend_get_executed_scope(); fcc.called_scope = Z_OBJCE_P(return_value); fcc.object = Z_OBJ_P(return_value); |