What is this => symbol Called in PHP. I know it can be interpret as Equal Sign Right Angle Bracket. | can be called Pipe or OR. but my prof was asking the other term to call the => symbol. It is for assigning a value to a key in array class. does anyone know what this is called?
It's officially being called T_DOUBLE_ARROW
.
Reference: http://php.net/manual/en/tokens.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With