This is already an array of hashmaps. Therefore, you should use it that way. You are not interested in the keys 0, 1, ..here, I suppose.
$hashmap = array();
foreach ($arr as $value) {
$hashmap[$value["key"]] = $value["value"];
}
Then you can use the key / value foreach method to verify that this worked:
foreach($hashmap as $key => $value){
echo 'map['.$key.']='.$value." \n<br/>";
}