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 to create an associative array like this:
$arr = array( "name" => "value" );
And also in a foreach loop like this:
foreach
foreach ($arr as $name => $value) { echo "My $name is $value"; }