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


(PECL libevent >= 0.0.1)

Event::freeMake event non-pending and free resources allocated for this event.


public void Event::free ( void )

Removes event from the list of events monitored by libevent, and free resources allocated for the event.


The Event::free method currently doesn't destruct the object itself. To destruct the object completely call unset() , or assign NULL.


This function has no parameters.

Return Values

No value is returned.

See Also

PHP Manual