Moreover, making a distinction between the method calling syntax begins to make the distinction between class objects and instance objects. I have a class which deals directly with classes and their static methods as if they are objects. This is a powerful notion that still needs more support in the Zend engine.
The call for static method should be:
ClassName->method();
Herr Witten
C++ allows $a->bar() when bar() is a static method (yes, it is called in a static context there too).
IMO, there should be no error, warning or notice here.
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php