RE: [PHP-DEV] "::" meaning and documentation From: Theodore (theodore <email protected>)
Date: 06/26/00

So, it is like perl's :: method for packages?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Theodore Baschak - Gecko Internet Services
          http://www.gecko-internet.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-----Original Message-----
From: Stanislav Malyshev [mailto:stas <email protected>]
Sent: June 26, 2000 10:59 AM
To: Ulf Wendel
Cc: php-dev <email protected>
Subject: Re: [PHP-DEV] "::" meaning and documentation

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>

-- 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>