array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'evfork.createstopped.php', 1 => 'EvFork::createStopped', ), 'up' => array ( 0 => 'class.evfork.php', 1 => 'EvFork', ), 'prev' => array ( 0 => 'evfork.construct.php', 1 => 'EvFork::__construct', ), 'next' => array ( 0 => 'class.evidle.php', 1 => 'EvIdle', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evfork/createstopped.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ev >= 0.2.0)
EvFork::createStopped — Creates a stopped instance of EvFork watcher class
$callback
,
string $data
= ?,
string $priority
= ?): objectThe same as EvFork::__construct() , but doesn't start the watcher automatically.
callback
See Watcher callbacks .
data
Custom data associated with the watcher.
priority
Returns EvFork(stopped) object on success.