RE: [PHP-DEV] "::" meaning and documentation

From: Date: Mon, 26 Jun 2000 17:13:56 +0000
Subject: RE: [PHP-DEV] "::" meaning and documentation
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22375@lists.php.net to get a copy of this message
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@zend.com] Sent: June 26, 2000 10:59 AM To: Ulf Wendel Cc: php-dev@lists.php.net 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@zend.com +972-3-6139665 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#22375) next »