Я хочу знать, сколько миллисекунд требуется для цикла 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