The mistake is mine not yours. I know about the :: operator I use it all the
time (but within classes parent::function() etc) - but I never realised
until now that PHP will let you use any class before instantiation (and
nearly all my PHP work uses classes). I have never even attempted to try
Since static method calls are completely disconnected from any class
instance asking which class the method call is from is rather meaningless,
and no, I don't think there is any way to get that.
-Rasmus
On Wed, 2 Oct 2002, Nick Eby wrote:
PHP allows static method calls... But back to my
2 matches
Mail list logo