Skip to content
Advertisement

What is the “->” PHP operator called? [closed]

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?

Advertisement

Answer

The official name is “object operator” – T_OBJECT_OPERATOR.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement