array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'evstat.stat.php', 1 => 'EvStat::stat', 2 => 'Initiates the stat call', ), 'up' => array ( 0 => 'class.evstat.php', 1 => 'EvStat', ), 'prev' => array ( 0 => 'evstat.set.php', 1 => 'EvStat::set', ), 'next' => array ( 0 => 'class.evtimer.php', 1 => 'EvTimer', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evstat/stat.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EvStat::stat

(PECL ev >= 0.2.0)

EvStat::statInitiates the stat call

说明

public EvStat::stat(): bool

Initiates the stat call(updates internal cache). It stats(using lstat) the path specified in the watcher and sets to the values found.

参数

此函数没有参数。

返回值

Returns true if path exists. Otherwise false.

参见