Minor: weirdly enough foreach is proven to be faster than array_* iteration functions