diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-10-03 19:32:46 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-10-03 19:32:46 +0400 |
commit | bd9a234645772a4f3116b3c4f1d5a83efb158d80 (patch) | |
tree | abcbff8b707fcd70c34be671b87a235b3dedee79 /Zend/zend_closures.c | |
parent | 5e39d0c19c276a20ab84d363955871c71b066de7 (diff) | |
download | php-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.c | 2 |
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()); |