Re: fatal static call in php 6.0?
| From: | Christian Schneider | Date: | Thu, 25 May 2006 13:39:02 +0000 |
| Subject: | Re: fatal static call in php 6.0? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23651@lists.php.net to get a copy of this message | ||
Marcus Boerger wrote:
There is no way you can write heavy oo using code that supports PHP 4 and PHP 5.2 without a version check every here and there, so i don't seeI'm not talking about heavy OO code. Just very basic one which static methods are used as sort-of namespaces. And that works perfectly well in PHP 4 and PHP 5. I'm just trying to point out that OO in PHP isn't all or nothing and the argument "if you don't need it, don't use it" has implications on how BC is treated. Requiring the static keyword with PHP 6 on the other hand means you get a compilation error with PHP 4. - Chris