HH\server_uptime

Returns the time that the http server has been accepting connections

Description

function server_uptime(): int

Return Values

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