Я хочу знать, сколько миллисекунд занимает выполнение цикла PHP for.
Я знаю структуру общего алгоритма, но понятия не имею, как реализовать его на PHP:
Begin
init1 = timer(); // Where timer() is the amount of milliseconds from midnight
The loop begin
Some code
The loop end
total = timer() - init1;
End
Подробнее здесь: https://stackoverflow.com/questions/624 ... of-scripts