Re: "::" meaning and documentation
| From: | Stanislav Malyshev | Date: | Mon, 26 Jun 2000 15:59:25 +0000 |
| Subject: | Re: "::" meaning and documentation | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22359@lists.php.net to get a copy of this message | ||
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