What does everyone think about disallowing non-instance calls to methods
which are not declared static? Currently, this works:

        class A {
          function B() { return 1; }
        }

        A::B();

But really, if B was intended to be used that way, it should have been
declared as static.

-Andrei                                       http://www.gravitonic.com/
* If it ain't broken, it doesn't have enough features yet. *

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to