summaryrefslogtreecommitdiff
path: root/main
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 /main
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 'main')
-rw-r--r--main/streams/userspace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/streams/userspace.c b/main/streams/userspace.c
index d73fb898f8..fedcc3f8bb 100644
--- a/main/streams/userspace.c
+++ b/main/streams/userspace.c
@@ -312,7 +312,6 @@ static void user_stream_create_object(struct php_user_stream_wrapper *uwrap, php
fci.no_separation = 1;
fcc.function_handler = uwrap->ce->constructor;
- fcc.calling_scope = zend_get_executed_scope();
fcc.called_scope = Z_OBJCE_P(object);
fcc.object = Z_OBJ_P(object);