逗比孩儿不动手2017-09-30 21:39:10
=> is a key-value pair
-> is similar to (.) in java. It means the equivalent of calling. For example, $a->$b(); means calling the b() function of an object. ;
LRTRL2017-09-29 08:58:23
=> is used to connect the key-value pairs in the array, -> is used to call methods or variables