"::" meaning and documentation

From: Date: Mon, 26 Jun 2000 15:44:53 +0000
Subject: "::" meaning and documentation
Groups: php.dev 
Request: Send a blank email to php-dev+get-22358@lists.php.net to get a copy of this message
Hi, what's the meaning of "::"? I was surprised to see that this code works: <?php class foo { var $bar = 0; function do() { $this->bar = 8; print $this->bar; } } foo::do(); ?> Does it officially introduce static method calls or is this a side effect? If so, I would like to see some documentation on it and how can a static class use the pseudo object $this to access it's properties (but not it's methods)? Ulf

« previous php.dev (#22358) next »