Re: [RFC] Remove calls with incompatible Context
| From: | Andrew Faulds | 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:$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/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.phpWhile we're at it,