What does this mean in PHP and when is the time to use it?
=>
Another example.
foreach ($parent as $task_id => $tod
It is used with associative arrays.
For example,
$gender = array('male' => 'M', 'female' => 'F');
Where $gender['male'] would give you 'M' and $gender['female'] will give you 'F'.
$gender['male']
$gender['female']