diff options
author | Nikita Popov <nikic@php.net> | 2015-05-05 21:06:34 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-05-05 21:14:03 +0200 |
commit | d9c2959c27cc19a8040a4f649f81d0de16ce5a67 (patch) | |
tree | 673047825e7c9dda3b95872e9912d728f14ac53a /ext/reflection/php_reflection.c | |
parent | dc546bdc4d8182f92c6113dcc9f515843708036c (diff) | |
download | php-git-d9c2959c27cc19a8040a4f649f81d0de16ce5a67.tar.gz |
Fix LSB handling for closures
Closures will now use the called_scope from their instantiation
site. If they are rebound either the class of $this is used or if
no $this is provided the bound scope is used.
With this change the scope for static closures can be changed back
to use EG(scope) rather than EX(called_scope), thus fixing
bug #69568.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions