Home > Blockchain >  what we call this sign => in PHP array?
what we call this sign => in PHP array?

Time:10-05

what do we call this sign => in PHP array? example: like this is (<= less than equal to) this is (>= greater than equal to).

What is the right name for => in PHP?

CodePudding user response:

Colloquially I believe it's often called a fat comma or double arrow, but I still prefer to call it a fat arrow, even though the official token is called T_DOUBLE_ARROW

https://en.wikipedia.org/wiki/Fat_comma#PHP

CodePudding user response:

Internally it appears to be called a T_DOUBLE_ARROW: http://www.php.net/manual/en/tokens.php

  •  Tags:  
  • php
  • Related