summaryrefslogtreecommitdiff
path: root/Zend/zend_closures.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-10-03 19:32:46 +0400
committerDmitry Stogov <dmitry@zend.com>2014-10-03 19:32:46 +0400
commitbd9a234645772a4f3116b3c4f1d5a83efb158d80 (patch)
treeabcbff8b707fcd70c34be671b87a235b3dedee79 /Zend/zend_closures.c
parent5e39d0c19c276a20ab84d363955871c71b066de7 (diff)
downloadphp-git-bd9a234645772a4f3116b3c4f1d5a83efb158d80.tar.gz
Replaced EG(This) and EX(object) with EX(This).
Internal functions now recieves zend_execute_data as the first argument.
Diffstat (limited to 'Zend/zend_closures.c')
-rw-r--r--Zend/zend_closures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_closures.c b/Zend/zend_closures.c
index cab31ce1c0..90d7a6bb86 100644
--- a/Zend/zend_closures.c
+++ b/Zend/zend_closures.c
@@ -47,7 +47,7 @@ static zend_object_handlers closure_handlers;
ZEND_METHOD(Closure, __invoke) /* {{{ */
{
- zend_function *func = EG(current_execute_data)->func;
+ zend_function *func = EX(func);
zval *arguments;
arguments = emalloc(sizeof(zval) * ZEND_NUM_ARGS());