# \[php\] :: or -\>

**URL:** <https://forum.kirupa.com/t/php-or/43605>\
**Category:** programming\
**Created:** [February 24, 2004, 1:27pm UTC](https://forum.kirupa.com/t/php-or/43605 "2004-02-24T13:27:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![koorb](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/koorb/32/424_2.png) [@koorb](https://forum.kirupa.com/u/koorb)\
**Post date:** [February 24, 2004, 1:27pm UTC](https://forum.kirupa.com/t/php-or/43605/1 "2004-02-24T13:27:46Z")

</div>

I use PHP all the time but I have never understood (never bothered to find out) what advatages there are of one over the other. I normaly use $class-\>method(); what would be the difference in using $class::method(); sytax ?
