array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'evloop.construct.php', 1 => 'EvLoop::__construct', 2 => 'Constructs the event loop object', ), 'up' => array ( 0 => 'class.evloop.php', 1 => 'EvLoop', ), 'prev' => array ( 0 => 'evloop.child.php', 1 => 'EvLoop::child', ), 'next' => array ( 0 => 'evloop.defaultloop.php', 1 => 'EvLoop::defaultLoop', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evloop/construct.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EvLoop::__construct

(PECL ev >= 0.2.0)

EvLoop::__constructConstructs the event loop object

Descrizione

public EvLoop::__construct(
     int $flags = ?,
     mixed $data = NULL ,
     float $io_interval = 0.0 ,
     float $timeout_interval = 0.0
)

Constructs the event loop object.

Elenco dei parametri

flags

One of the event loop flags

data

Custom data associated with the loop.

io_interval

See io_interval

timeout_interval

See timeout_interval

Vedere anche: