Re: Re: Broken apps

From: Date: Mon, 19 Jan 2015 19:42:24 +0000
Subject: Re: Re: Broken apps
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-80847@lists.php.net to get a copy of this message
Hi! > Hm, I wasn't aware quite how strict this change was - I'm definitely on > board with not allowing $this from an incompatible context, but thought > it would only be access to $this that was made illegal, not the call > itself. HHVM takes the approach of simply leaving $this undefined, but > appears to special case get_class($this). http://3v4l.org/gKWBD > http://3v4l.org/0gabo I think this is maybe what we should do, just make this another static call and ignore/null out $this if the context is not compatible. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#80847) next »