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

From: Date: Tue, 24 May 2016 07:14:07 +0000
Subject: Re: [RFC] Fix inconsistent behavior of $this variable
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-93470@lists.php.net to get a copy of this message
On 05/24/2016 05:29 AM, Xinchen Hui wrote:
Hey: On Tue, May 24, 2016 at 4:24 AM, 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.
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
Right. Thanks. Fixed. Dmitry.
thanks
    https://wiki.php.net/rfc/this_var
    Thanks. Dmitry.
-- Xinchen Hui @Laruence http://www.laruence.com/


« previous php.internals (#93470) next »