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
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to