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

From: Date: Tue, 24 May 2016 05:45:33 +0000
Subject: Re: [RFC] Fix inconsistent behavior of $this variable
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-93465@lists.php.net to get a copy of this message
I'm curious, what is it about $this that makes it special in the first place? Can't it be a normal local variable that happens to already be assigned at the start of a method? On Tue, May 24, 2016 at 6:24 AM, 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. >

« previous php.internals (#93465) next »