PHP tip: Do not use functions in end condition of for loop
Function, which is called inside the loop is executed always in each iteration.
Read More
Posted on 26 August 2013