Re: [RFC] Fix inconsistent behavior of $this variable

From: Date: Mon, 23 May 2016 21:28:10 +0000
Subject: Re: [RFC] Fix inconsistent behavior of $this variable
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-93459@lists.php.net to get a copy of this message
good point. I'll update RFC and patch to support extract() and get_defined_vars(). ________________________________ From: Nikita Popov <nikita.ppv@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 <dmitry@zend.com<mailto: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

« previous php.internals (#93459) next »