array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'evio.set.php', 1 => 'EvIo::set', 2 => 'Configures the watcher', ), 'up' => array ( 0 => 'class.evio.php', 1 => 'EvIo', ), 'prev' => array ( 0 => 'evio.createstopped.php', 1 => 'EvIo::createStopped', ), 'next' => array ( 0 => 'class.evloop.php', 1 => 'EvLoop', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evio/set.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EvIo::set

(PECL ev >= 0.2.0)

EvIo::setConfigures the watcher

说明

public EvIo::set( mixed $fd , int $events ): void

Configures the EvIo watcher

参数

fd

The same as for EvIo::__construct()

events

The same as for EvIo::__construct()

返回值

没有返回值。