array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'evloop.io.php', 1 => 'EvLoop::io', ), 'up' => array ( 0 => 'class.evloop.php', 1 => 'EvLoop', ), 'prev' => array ( 0 => 'evloop.invokepending.php', 1 => 'EvLoop::invokePending', ), 'next' => array ( 0 => 'evloop.loopfork.php', 1 => 'EvLoop::loopFork', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evloop/io.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ev >= 0.2.0)
EvLoop::io — Create EvIo watcher object associated with the current event loop instance
$fd
,$events
,$callback
,$data
= null
,$priority
= 0
Create EvIo watcher object associated with the current event loop instance.
All parameters have the same meaning as for EvIo::__construct()
Returns EvIo object on success.