you can use it in a statement like this:
Code:
foreach ($myArray as $key=>$val)
if $myArray is an associative array where:
$myArray['name'] == "Capo",
$myArray['location'] == "New Jersey",
it would go through the loop twice. in the first loop, $key == "name", $val == "Capo"; in the second loop $key == "location", $val == "New Jersey".
It might just be a substitute for -> but don't quote me on that.