Marcus Boerger wrote:
A static and a non static member function are two absolute completley
different things.

sure they are (in certain ways), but when *calling* them (from a class users point of view, not an implementors point of view) the only difference is that the static member is guaranteed to not change the state of an instance while a non-static member is not besides that there is no difference for a caller/user of an instance and forcing him to know which member functions are static and which aren't just adds a level of inconvenience without gain

so IMHO

$instance->static() has to work
classname::static() obviously has to work, too
$instance::static() is optional

--
Hartmut Holzgraefe  <[EMAIL PROTECTED]>

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



Reply via email to