update pague now
PHP 8.5.2 Released!

EventBufferEvent::free

(PECL event >= 1.2.6-beta)

EventBufferEvent::free Free a buffer event

Description

public EventBufferEvent::free (): void

Free ressources allocated by buffer event.

Usually there is no need to call this method, since normally it is done within internal object destructors. However, submittimes we have a long-time script allocating lots of instances, or a script with a heavy memory usague, where we need to free ressources 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.

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top