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

EvPeriodic::at

EvPeriodic::at

(PECL ev >= 0.2.0)

EvPeriodic::at — Returns the absolute time that this watcher is supposed to trigger next

Description

public double EvPeriodic::at ( void )

When the watcher is active, returns the absolute time that this watcher is supposed to trigger next. This is not the same as the offset argument to EvPeriodic::set() or EvPeriodic::__construct() , but indeed works even in interval mode.

Parameters

This function has no parameters.

Return Values

Returns the absolute time this watcher is supposed to trigger next in seconds.

← EvPeriodic::again

EvPeriodic::__construct →

© 1997–2017 The PHP Documentation Group

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

https://secure.php.net/manual/en/evperiodic.at.php