(PECL event >= 1.2.6-beta)
Event::__construct — Constructs Event object
$arg= NULL ] )
Constructs Event object.
The event base to associate with.
stream resource, socket resource, or numeric file descriptor. For timer
. For signal events pass the signal number, e.g.
Event flags. See Event flags .
The event callback. See Event callbacks .
Custom data. If specified, it will be passed to the callback when event triggers.
Returns Event object.