(Exact) Difference between -> and ::

From: Date: Sun, 14 Jul 2002 09:02:39 +0000
Subject: (Exact) Difference between -> and ::
Groups: php.general 
Request: Send a blank email to php-general+get-107589@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++ ...

« previous php.general (#107589) next »