array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'eventbufferevent.free.php', 1 => 'EventBufferEvent::free', ), 'up' => array ( 0 => 'class.eventbufferevent.php', 1 => 'EventBufferEvent', ), 'prev' => array ( 0 => 'eventbufferevent.enable.php', 1 => 'EventBufferEvent::enable', ), 'next' => array ( 0 => 'eventbufferevent.getdnserrorstring.php', 1 => 'EventBufferEvent::getDnsErrorString', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventbufferevent/free.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL event >= 1.2.6-beta)
EventBufferEvent::free — Free a buffer event
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
.
This function has no parameters.
No value is returned.