Re: [PHP-DEV] "::" meaning and documentation From: Stanislav Malyshev (stas <email protected>)
Date: 06/26/00

UW>> what's the meaning of "::"? I was surprised to see that this code works:
UW>> foo::do();

Exactly for this is "::".

UW>> Does it officially introduce static method calls or is this a side
UW>> effect? If so, I would like to see some documentation on it and how can
UW>> a static class use the pseudo object $this to access it's properties
UW>> (but not it's methods)?

It can't. $this is empty if called via this method.

-- 
Stanislav Malyshev   stas <email protected>          
+972-3-6139665

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>