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
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