PhpRiot
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

event_base_set

(PECL libevent >= 0.0.1)

event_base_setAssociate event base with an event

Description

bool event_base_set ( resource $event , resource $event_base )

Associates the event_base with the event.

Parameters

event

Valid event resource.

event_base

Valid event base resource.

Return Values

event_base_set() returns TRUE on success or FALSE on error.

PHP Manual