2

i am php programmer but i don't know name of this operator

-> this operator use in OOP in php.
for example

$this->get();
aya
  • 1,597
  • 4
  • 29
  • 59

2 Answers2

6

It is the object operator (known as T_OBJECT_OPERATOR internally).

R R
  • 2,999
  • 2
  • 24
  • 42
Nils
  • 780
  • 5
  • 16
3

The official name is object operator : T_OBJECT_OPERATOR.

Generally called " arrow ".

Alireza Fallah
  • 4,609
  • 3
  • 31
  • 57