Just beginning to learn PHP and I have come across something I am not sure of.
Here is a piece of code:
if(!$user->isAuth()
Now I can figure out what it implies but I am not able to Google it to see exactly what the meaning of the "->" shortcut is exactly
Could someone help me with that?
Thanks
Kevin
what does -> mean
Moderator: General Moderators
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: what does -> mean
Not sure if it has a technical name, but its the operator used to access properties or methods of a class.
Classes - The Basics
Classes - The Basics
-
kevinwinters
- Forum Newbie
- Posts: 20
- Joined: Wed Jan 06, 2010 8:31 pm
Re: what does -> mean
Thank You
Re: what does -> mean
It has. It's called 'member access operator'.flying_circus wrote:Not sure if it has a technical name