Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

The EventConfig class

(PECL event >= 1.2.6-beta)


Represents configuration structure which could be used in construction of the EventBase .

Class synopsis

final EventConfig {
/* Constants */
const integer FEATURE_ET = 1 ;
const integer FEATURE_O1 = 2 ;
const integer FEATURE_FDS = 4 ;
/* Methods */
public bool avoidMethod ( int $method )
public __construct ( void )
public bool requireFeatures ( int $feature )
public void setMaxDispatchInterval ( int $max_interval , int $max_callbacks , int $min_priority )

Predefined Constants


Requires a backend method that supports edge-triggered I/O.


Requires a backend method where adding or deleting a single event, or having a single event become active, is an O(1) operation.


Requires a backend method that can support arbitrary file descriptor types, and not just sockets.

Table of Contents

PHP Manual