Em Mon, 30 Jul 2012 19:42:59 +0200, Will Fitch <willfi...@php.net>
escreveu:
I think this is a good idea. I agree with the intention of throwing
E_DEPRECATED in 5.5, but what do you propose happen afterwards? Throw a
fatal error? I would just like to make "removing (in the next version)"
a little more definitive.
As much as I'd like to have an error at call site here, the most sensible
option is to just have $this === null inside the callee, like when you do:
class A { function foo() {} }
A::foo(); // E_STRICT
I'll update the RFC with this.
--
Gustavo Lopes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php