php 실행 시간 출력
더시민
0
439
0
2022.07.26 10:49
$script_starttime = get_microtime();
echo get_microtime() - $script_starttime."<br />";
......
echo get_microtime() - $script_starttime."<br />";
function get_microtime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}