good point. I'll update RFC and patch to support extract() and get_defined_vars().
________________________________ From: Nikita Popov <nikita....@gmail.com> Sent: Monday, May 23, 2016 11:46:35 PM To: Dmitry Stogov Cc: internals; Nikita Popov; Bob Weinand; Xinchen Hui Subject: Re: [PHP-DEV] [RFC] Fix inconsistent behavior of $this variable On Mon, May 23, 2016 at 10:24 PM, Dmitry Stogov <dmi...@zend.com<mailto:dmi...@zend.com>> wrote: Hi internals, Please review the RFC. It proposes to fix all known inconsistencies related to handling of special $this variable. https://wiki.php.net/rfc/this_var Thanks. Dmitry. How does this interact with things like extract() or get_defined_vars()? The"static function __call()" case looks like a bug... Shouldn't this just be a compiler error in the first place? Nikita