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

From: Date: Tue, 24 May 2016 02:29:46 +0000
Subject: Re: [RFC] Fix inconsistent behavior of $this variable
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-93464@lists.php.net to get a copy of this message
Hey: On Tue, May 24, 2016 at 4: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. > in section static this, actually, the codes doesn't work in 7.0 neither. it will result in fatal error: PHP Fatal error: Cannot re-assign $this thanks > > https://wiki.php.net/rfc/this_var > > > Thanks. Dmitry. > -- Xinchen Hui @Laruence http://www.laruence.com/

« previous php.internals (#93464) next »