Change for loop to foreach

What do you think of using the following instead?
```
function tep_parse_category_path($cPath) {
  return array_unique(array_map(function ($string) {
    return (int)$string;
  }, explode('_', $cPath)));
}
```
(not tested)