Jasper Bryant-Greene wrote:
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]?

self:: does not exist in PHP 4. So $this is probably used by some people to avoid <classname>:: which is ugly. While this might not be the best reason to do it it is still a real world fact.

- Chris

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

Reply via email to