[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 646
  • Last Modified:

What does this PHP operator mean ->?

I'm trying to work through some sample code that is a php class and -> this operator seems to be used alot. Thanks in advance.

0
jonboyrc
Asked:
jonboyrc
  • 2
1 Solution
 
97WideGlideCommented:
It points to a member of an object.
0
 
97WideGlideCommented:
Better :

It's called the "object operator".  

So $a->b means the $b property of the object referenced by $a

http://www.ibm.com/developerworks/library/os-phpobj/
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now