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 see
I'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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php