略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Event::free

2024-12-21

Event::free

(PECL event >= 1.2.6-beta)

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

说明

public Event::free(): void

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

警告

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

参数

此函数没有参数。

返回值

没有返回值。

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/event.free.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3