Re: [RFC] Remove calls with incompatible Context

From: Date: Fri, 03 Aug 2012 22:40:09 +0000
Subject: Re: [RFC] Remove calls with incompatible Context
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-62024@lists.php.net to get a copy of this message
On 03/08/12 23:36, Etienne Kneuss wrote:
On Mon, Jul 30, 2012 at 7:31 PM, Gustavo Lopes <glopes@nebm.ist.utl.pt> wrote:
https://wiki.php.net/rfc/incompat_ctx An RFC for deprecating and removing $this from incompatible context. Comments are welcome.
4+ years ago Marcus already wanted to clean that up in PHP6. Definitely +1. Best,
-- Gustavo Lopes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
While we're at it,
$a = 'this'; $$a = new StdClass(); should be an error. Also $GLOBALS['this'] = new StdClass(); https://bugs.php.net/bug.php?id=52428 -- Andrew Faulds http://ajf.me/

« previous php.internals (#62024) next »