Php/docs/eventbufferevent.free

提供:Dev Guides
< Php
2020年12月14日 (月) 12:03時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

EventBufferEvent::free

(PECL event >= 1.2.6-beta)

EventBufferEvent::freeFree a buffer event


説明

public 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 .


パラメータ

この関数にはパラメータはありません。


返り値

値を返しません。