On Mar 2, 2006, at 11:33 AM, Mike Lively wrote:
Hi Mike,
In regards to naming: 'static' wasn't my first choice either. In fact I was originally using 'this::' due to me misreading the notes from the PDM.
Does 'this' work ok? I like that one. this:: and $this would both be late binding one for the class the other for the instance. It makes a lot of sense to me. I think it explains why self isn't late binding, too. very nice.
this::method() this::$property this::constant get_this_class()
(I doubt very strongly that anyone 'relies' on early binding for static functions...I could be wrong though.)
But they do for static properties. Changing the meaning of self::$property would probably break some stuff.
Best Regards, Jeff -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php