Last updated 5 years ago
Was this helpful?
int get_microtime_lib (int start, int end)
php 의 microtime 을 이용하여 얻어지는 값을 비교하여 경과 시간을 밀리초로 구하는 함수
(int) start - 시작 micro seconds. PHP function으로 구할 수 있다.
(int) end - 종료 micro senconds.
<?php $time1 = microtime(); blah_blah (); $time2 = microtime(); $time = get_microtime_lib ($time1, $time2); # print 0.01 sec echo "$time sec"; ?>
None