php / 8.1.5 / ev.time.html /

Ev::time

(PECL ev >= 0.2.0)

Ev::timeReturns the current time in fractional seconds since the epoch

Description

final public static Ev::time(): float

Returns the current time in fractional seconds since the epoch. Consider using Ev::now()

Parameters

This function has no parameters.

Return Values

Returns the current time in fractional seconds since the epoch.

See Also

  • Ev::now() - Returns the time when the last iteration of the default event loop has started

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/ev.time.php