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

EventBufferEvent::free

(PECL event >= 1.2.6-beta)

EventBufferEvent::freeFree a buffer event

Description

public void EventBufferEvent::free ( void )

Free resources allocated by buffer event.

Usually there is no need to call this method, since normally it is done within internal object destructors. However, sometimes we have a long-time script allocating lots of instances, or a script with a heavy memory usage, where we need to free resources as soon as possible. In such cases EventBufferEvent::free may be used to protect the script against running up to the memory_limit .

Parameters

This function has no parameters.

Return Values

No value is returned.

PHP Manual