(Exact) Difference between -> and ::

From: Date: Sat, 13 Jul 2002 18:34:16 +0000
Subject: (Exact) Difference between -> and ::
Groups: php.general 
Request: Send a blank email to php-general+get-107592@lists.php.net to get a copy of this message
Hi, I would like to know the exact difference between -> and ::. I know that I can use as class directcly by using :: but I still don't know the exact meaning.... So why do they use in Example 8 on http://www.php.net/source.php?url=/zend2_example.phps $this->id = self::$id++ and not self::id++ or $this->id++ ... ? -micha

« previous php.general (#107592) next »