diff options
| author | Nikita Popov <nikic@php.net> | 2016-03-29 23:48:07 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2016-04-08 00:38:44 +0200 |
| commit | 75af8150f58fb55637ac12b33d469b27adef9d76 (patch) | |
| tree | 682e004586b35e5ecb368a6f29e082779d15cd42 /Zend/zend_extensions.h | |
| parent | aed42496534fe54c5c0ce64fe0ca5c9d801d6161 (diff) | |
| download | php-git-75af8150f58fb55637ac12b33d469b27adef9d76.tar.gz | |
Forbid binding methods to incompatible $this
This prohibits binding closures returned by
ReflectionMethod::getClosure() to a $this, which is not an
instance of the method scope. This restriction was already in
place for internal methods, now it is extended to user methods.
ML discussion: http://markmail.org/message/zepnhdyr3kij6di6
Diffstat (limited to 'Zend/zend_extensions.h')
0 files changed, 0 insertions, 0 deletions
