Re: [RFC] Fix inconsistent behavior of $this variable
| From: | Nikita Popov | Date: | Mon, 23 May 2016 20:46:35 +0000 |
| Subject: | Re: [RFC] Fix inconsistent behavior of $this variable | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93458@lists.php.net to get a copy of this message | ||
On Mon, May 23, 2016 at 10:24 PM, Dmitry Stogov <dmitry@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