($array as $value)を
($array as $key => $value)で