3

Possible Duplicate:
In, PHP, what is the “->” operator called and how do you say it when reading code out loud?

Could someone help with a simple query we have? Whilst we use it every minute of every day, we have no idea what "->" is called in PHP when accessing object methods etc. (eg $this->class->method() ).

We know what is does but when discussing it all we call it is "arrow thing".

Community
  • 1
  • 1
Adam
  • 31
  • 1

1 Answers1

4

It's called the object operator.

Stefan H Singer
  • 5,469
  • 2
  • 25
  • 26
  • I did search but the search box couldn't get to grips with "->". Anyway thanks for answering, never apologise for helping someone! – Adam Jul 08 '11 at 12:59