HH\server_uptime

Returns the time that the http server has been accepting connections

namespace HH;

function server_uptime(): int;

Returns

  • int - - number of seconds the server has been running. -1 if server is not started.