On Sat, 5 Apr 2003, Sebastian Bergmann wrote: > Rasmus Lerdorf wrote: > > Along the same lines, why do you care if you can call a static method > > in a class without declaring it static? > > A warning would be nice. After all declaring a static method > explicitly static using the appropriate keyword improves performance (a > bit) because $this doesn't have to be initialized etc.
I'd go for a notice instead, just like the other things like using an uninitialized variable. Derick -- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php