=> is the array association operator, similar to the = assignment operator.
It is used mainly in array declarations of the form $arr = array( $key=>$value)
which is equivalent to $arr[$key] = $value
, and of course, in the foreach
control structure to assign values to key and value loop variables.