Q:

How do you pronounce the symbol -> and => in PHP code?

I am new to PHP and noticed -> and => symbols all through the code. When I asked the php developers, they are saying that it is a reference symbol. How do we pronounce in words those symbols while explaining it to a colleague over phone?
This question is not about the difference and its usage, but more about the pronunciation while reading the code in words over phone to a distant person.
Let's take an example of $this->execution->setVariable(key, value). If it is java, I would pronounce this.execution.setVariable(key, value) in words as "this dot execution dot setVariable of key comma/and value. How about it in this case of php?

A:

Assuming you are trying to speak your code, you could use:

-> Arrow
=> Double Arrow

And here are some examples to clarify:

"This arrow that arrow foo method with parameters bar and baz"
"Key double arrow value, and then we do that 5 more times for each child"

If you are instead trying to reference the symbols themselves:

-> Arrow operator
=> Double Arrow operator

And examples again:

"There is an object operator between the two, but I think it should be a scope resolution operator"
"... Then we use the double arrow operator to assign a value to that key"

If you were trying to instead reference the concept the symbols are being used for or find something about them, you might instead use Trey's suggestions:

-> Object Notation
=> Array Key/Value Assignment

Some examples:

"Using Object Notation, we can then access the methods within that object"
"With array key value assignment we can build an associative array."

If you wanted to dictate code to your computer, you would use Funky's suggestions:

-> Hyphen, Greater Than Sign
=> Equal Sign, Greater Than Sign

And I really don't think that needs an example.

