Jasper Bryant-Greene wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Christian Schneider wrote:
PS: There are no plans to make non-static calls to static methods
illegal, right?
What is the point in that? What advantage do you get using
$this->someMethodName() [non-static call] over self::someMethodName()
[static call]?
You don't need to create an object to make a static call.
MyClass::MyFunc() works without objects, which is much faster than
creating an instance and then invoking a method on it.
Edin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php