Re: [RFC] Fix inconsistent behavior of $this variable
| From: | Dmitry Stogov | 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:Right. Thanks. Fixed. Dmitry.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
thankshttps://wiki.php.net/rfc/this_varThanks. Dmitry.-- Xinchen Hui @Laruence http://www.laruence.com/