EvStat
PHP Manual

EvStat::set

(PECL ev >= 0.2.0)

EvStat::setConfigures the watcher

说明

public void EvStat::set ( string $path , float $interval )

Configures the watcher.

参数

path

The path to wait for status changes on.

interval

Hint on how quickly a change is expected to be detected and should normally be specified as 0.0 to let libev choose a suitable value.

返回值

没有返回值。


EvStat
PHP Manual