在线文档教程
PHP
处理控制 | Process Control

Ev::time

Ev::time

(PECL ev >= 0.2.0)

Ev::time — Returns the current time in fractional seconds since the epoch.

Description

final public static double Ev::time ( void )

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.

← Ev::suspend

Ev::verify →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/ev.time.php