diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-07-02 22:01:25 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-07-02 22:01:25 +0400 |
commit | 412ad4b25417d261c0a8c43f788d5c110593d891 (patch) | |
tree | 43a257a7d074bf976c02d0d35da80fde24f54705 /Zend/zend_closures.c | |
parent | 0b1cfdf390632a0bf0b27516399b09813500c299 (diff) | |
download | php-git-412ad4b25417d261c0a8c43f788d5c110593d891.tar.gz |
Uinified call frame handling for user and internal functions.
Now EG(current_execute_data) always point to the call frame of the currently executed function.
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 053a5eb199..29c1328f2c 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)->call->func; + zend_function *func = EG(current_execute_data)->func; zval *arguments; arguments = emalloc(sizeof(zval) * ZEND_NUM_ARGS()); |