diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 3634e9a01c..d0445841f4 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -5050,8 +5050,7 @@ function phpbb_generate_debug_output($db, $config, $auth, $user) // Output page creation time if (defined('PHPBB_DISPLAY_LOAD_TIME')) { - $mtime = explode(' ', microtime()); - $totaltime = $mtime[0] + $mtime[1] - $GLOBALS['starttime']; + $totaltime = microtime(true) - $GLOBALS['starttime']; $debug_info[] = sprintf('Time : %.3fs', $totaltime); $debug_info[] = $db->sql_num_queries() . ' Queries';