3 ms·
The count in the loop slows it down quite a bit:http://tips4php.com/2010/01/best-way-to-traverse-trough-an-array/ http://tips4php.com/2010/01/best-way-to-traver
by PanMan 17y ago
The count in the loop slows it down quite a bit:http://tips4php.com/2010/01/best-way-to-traverse-trough-an-array/ http://tips4php.com/2010/01/best-way-to-traverse-trough-an-a...
Foreach is easier to write, and faster to run :)
- deleted 17y ago[deleted]