EvLoop::fork

(PECL ev >= 0.2.0) Creates EvFork watcher object associated with the current event loop instance final public EvFork EvLoop::fork ( callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Creates EvFork watcher object associated with the current event loop instance Returns: Returns EvFork object on success. See also

EvLoop::embed

(PECL ev >= 0.2.0) Creates an instance of EvEmbed watcher associated with the current EvLoop object. final public EvEmbed EvLoop::embed ( string $other [, string $callback [, string $data [, string $priority ]]] ) Creates an instance of EvEmbed watcher associated with the current EvLoop object. Returns: Returns EvEmbed object on success.

EvLoop::defaultLoop

(PECL ev >= 0.2.0) Returns or creates the default event loop. public static EvLoop EvLoop::defaultLoop ([ int $flags = Ev::FLAG_AUTO [, mixed $data = NULL [, double $io_interval = 0. [, double $timeout_interval = 0. ]]]] ) If the default event loop is not created, EvLoop::defaultLoop() creates it with the specified parameters. Otherwise, it just returns the object representing previously created instance ignoring all

EvLoop::__construct

(PECL ev >= 0.2.0) Constructs the event loop object public EvLoop::__construct ([ int $flags [, mixed $data = NULL [, double $io_interval = 0.0 [, double $timeout_interval = 0.0 ]]]] ) Constructs the event loop object. Parameters: flags One of the event loop flags data Custom data associated with the loop.

EvLoop::child

(PECL ev >= 0.2.0) Creates EvChild object associated with the current event loop final public EvChild EvLoop::child ( string $pid , string $trace , string $callback [, string $data [, string $priority ]] ) Creates EvChild object associated with the current event loop. Returns: Returns EvChild object on success. See also:

EvLoop::check

(PECL ev >= 0.2.0) Creates EvCheck object associated with the current event loop instance final public EvCheck EvLoop::check ( string $callback [, string $data [, string $priority ]] ) Creates EvCheck object associated with the current event loop instance. Returns: Returns EvCheck object on success. See also:

EvLoop::backend

(PECL ev >= 0.2.0) Returns an integer describing the backend used by libev. public int EvLoop::backend ( void ) The same as Ev::backend() , but for the loop instance. Returns: Returns an integer describing the backend used by libev. See Ev::backend() . See also: Ev::backend() -

EvIo::set

(PECL ev >= 0.2.0) Configures the watcher public void EvIo::set ( mixed $fd , int $events ) Configures the EvIo watcher Parameters: fd The same as for EvIo::__construct() events The same as for EvIo::__construct() Returns: No value is returned.

EvIo::createStopped

(PECL ev >= 0.2.0) Create stopped EvIo watcher object final public static EvIo EvIo::createStopped ( mixed $fd , int $events , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) The same as EvIo::__construct() , but doesn't start the watcher automatically. Parameters: fd The same as for EvIo::__construct() events T

EvIo::__construct

(PECL ev >= 0.2.0) Constructs EvIo watcher object public EvIo::__construct ( mixed $fd , int $events , callable $callback [, mixed $data [, int $priority ]] ) Constructs EvIo watcher object and starts the watcher automatically. Parameters: fd Can be a stream opened with fopen() or similar functions, numeric file descriptor, or socket. events