Hacker News new | past | comments | ask | show | jobs | submit login

The count in the loop slows it down quite a bit:http://tips4php.com/2010/01/best-way-to-traverse-trough-an-a... Foreach is easier to write, and faster to run :)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: