Replace iterator_apply() with foreach(){} statements
Replace iterator_apply() with foreach(){} statements

The iterator_apply() is slower than foreach(){} so change all parts
where iterator_apply() is used. Foreach(){} is faster, measured with
a benchmark here: https://gist.github.com/1287753

zendframework/zend-loader,Maks3w/zend-loader