mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-14 10:14:55 +02:00
microtime as float (#502)
This commit is contained in:
@@ -7,9 +7,8 @@ if (!function_exists("elapsedTime")) {
|
||||
if ($l_start === false) global $l_start;
|
||||
if ($l_time === false) global $l_time;
|
||||
|
||||
$l_time = explode(' ', microtime());
|
||||
$l_finish = $l_time[1] + $l_time[0];
|
||||
return round(($l_finish - $l_start), 4);
|
||||
$l_time = microtime(true);
|
||||
return round(($l_time - $l_start), 4);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user