I'm fairy new to php, but have a lot of OOP experience. I was just wondering why you do this in php.
What I think your meant to do:
$example->functionName();
What I thought you would've done:
$example.functionName();
(Please tell me if Ive got it all wrong)
So the question is, why do you use -> instead of . in php? Or is there no difference?