/** * Returns the time when the application started, as a UNIX timestamp * with microseconds. * @return float */ public static function getStartTime() { if (!isset(self::$startTime)) { self::$startTime = microtime(true); } return self::$startTime; }