Replace "foreach $x (array)" with for (array)

I hate using foreach and I like the $_ variable.