What is the "->" PHP operator called?

Jake picture Jake · Apr 6, 2010 · Viewed 71.8k times · Source

What do you call this arrow looking -> operator found in PHP?

It's either a minus sign, dash or hyphen followed by a greater than sign (or right chevron).

How do you pronounce it when reading code out loud?

Answer

user187291 picture user187291 · Apr 6, 2010

The official name is "object operator" - T_OBJECT_OPERATOR.