Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Event::delTimerEvent::getSupportedMethods>
^EventLast updated: Mon, 26 Oct 2026

Event::free

(PECL event >= 1.2.6-beta)

Event::free — Make event non-pending and free resources allocated for this event

Description

public function Event::free(): void

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

Warning

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

Parameters

This function has no parameters.

Return Values

No value is returned.

See Also


<Event::delTimerEvent::getSupportedMethods>
^EventLast updated: Mon, 26 Oct 2026