Re: fatal static call in php 6.0?
| From: | Andi Gutmans | Date: | Tue, 16 May 2006 02:41:33 +0000 |
| Subject: | Re: fatal static call in php 6.0? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23441@lists.php.net to get a copy of this message | ||
I don't see why it has to be a fatal error. If there's an instanceof relationship we can keep $this. If not, we should not pass $this (which I believe we already do in PHP 5), in which case the author would have to pass $this if he wants to change public properties.
Andi
At 12:49 PM 5/15/2006, Edin Kadribasic wrote:
Todd Ruth wrote:I don't see benefits of making semi-static fatal that make it worth keeping those of us with large apps that depend on semi- static from upgrading to php6.My sentiments exactly. OO purity/strictness do now work well with PHP's main strength -- its dynamicity. Edin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php