Hello Christian, Thursday, May 25, 2006, 3:39:02 PM, you wrote:
> 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. There are no static methods in PHP 4. Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php