Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the correct terminology for "->", ie $class->method()

Tags:

terminology

$class->method()
      ^
      |

What's the correct terminology for this?

like image 411
jlee Avatar asked Dec 07 '25 08:12

jlee


1 Answers

I've always called the symbol an "arrow".

like image 92
Matthew Jones Avatar answered Dec 12 '25 06:12

Matthew Jones