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