Is it faster to calculate the length of the loop in advance?
PHP Mythbusters: Count inside for loop is slow
P
Is it faster to calculate the length of the loop in advance?
This is the first in a series of articles (I hope) that will try to deal with some known PHP Myths around.