Are this methods a reliable way to measure a script:
$time = ($_SERVER['REQUEST_TIME_FLOAT'] - $_SERVER['REQUEST_TIME']);
or
$time = (microtime(true) - $_SERVER['REQUEST_TIME_FLOAT']);
Which one should be used?
And what's the difference of each one?
They return very different measurements.