EvChild::__construct
EvChild::__construct
(PECL ev >= 0.2.0)
EvChild::__construct — Constructs the EvChild watcher object
Description
public EvChild::__construct ( int $pid , bool $trace , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] )
Constructs the EvChild watcher object.
Call the callback when a status change for process ID pid
(or any PID if pid
is 0
) has been received(a status change happens when the process