Re: [PHP] (Exact) Difference between -> and ::

2002-07-14 Thread Alberto Serra
ðÒÉ×ÅÔ! Micha wrote: > 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

[PHP] (Exact) Difference between -> and ::

2002-07-14 Thread Micha
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

[PHP] (Exact) Difference between -> and ::

2002-07-14 Thread Micha
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