event_base_loop

(PECL libevent >= 0.0.1) Handle events int event_base_loop ( resource $event_base [, int $flags = 0 ] ) Starts event loop for the specified event base. Parameters: event_base Valid event base resource. flags Optional parameter, which can take any combination of EVLOOP_ONCE and EVLOOP_NONBLOCK. Returns: even

event_base_free

(PECL libevent >= 0.0.1) Destroy event base void event_base_free ( resource $event_base ) Destroys the specified event_base and frees all the resources associated. Note that it's not possible to destroy an event base with events attached to it. Parameters: event_base Valid event base resource.

event_add

(PECL libevent >= 0.0.1) Add an event to the set of monitored events bool event_add ( resource $event [, int $timeout = -1 ] ) event_add() schedules the execution of the event when the event specified in event_set() occurs or in at least the time specified by the timeout argument. If timeout was not specified, not timeout is set. The event must be already initalized by event_set() and event_base_set() functions. If the e

expect_popen

(PECL expect >= 0.1.0) Execute command via Bourne shell, and open the PTY stream to the process resource expect_popen ( string $command ) Execute command via Bourne shell, and open the PTY stream to the process. Parameters: command Command to execute. Returns: Returns an open PTY stream to the processes stdio, stdout, and stderr. On failure

expect_expectl

(PECL expect >= 0.1.0) Waits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen int expect_expectl ( resource $expect, array $cases [, array &$match ] ) Waits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen. If match is provided, then it is filled with the result of search. The matched

EvWatcher::stop

(PECL ev >= 0.2.0) Stops the watcher public void EvWatcher::stop ( void ) Marks the watcher as inactive. Note that only active watchers will receive events. Returns: No value is returned. See also: EvWatcher::start() -

EvWatcher::start

(PECL ev >= 0.2.0) Starts the watcher public void EvWatcher::start ( void ) Marks the watcher as active. Note that only active watchers will receive events. Returns: No value is returned. See also: EvWatcher::stop() -

EvWatcher::setCallback

(PECL ev >= 0.2.0) Sets new callback for the watcher public void EvWatcher::setCallback ( callable $callback ) Sets new callback for the watcher Parameters: callback See Watcher callbacks . Returns: No value is returned.

EvWatcher::keepalive

(PECL ev >= 0.2.0) Configures whether to keep the loop from returning public bool EvWatcher::keepalive ([ bool $value ] ) Configures whether to keep the loop from returning. With keepalive value set to FALSE the watcher won't keep Ev::run() / EvLoop::run() from returning even though the watcher is active. Watchers have keepalive value TRUE by default. Clearing keepalive status is useful when returning from Ev::run()

EvWatcher::invoke

(PECL ev >= 0.2.0) Invokes the watcher callback with the given received events bit mask public void EvWatcher::invoke ( int $revents ) Invokes the watcher callback with the given received events bit mask. Parameters: revents Bit mask of watcher received events . Returns: No value is returned.