summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-05-03 19:27:04 +0300
committerDmitry Stogov <dmitry@zend.com>2018-05-03 19:27:04 +0300
commiteafa92ba9d315106dede5aa154f81d0a4b34fe57 (patch)
treef41dd0d7576592548fe636034ed2986eb3bb62e0 /ext/mysqli/mysqli.c
parentfdb347a7539bde2c02b7efaae25583581c77b88e (diff)
downloadphp-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.c1
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);