PHP - Manual: event_base_set
2024-12-23
(PECL libevent >= 0.0.1)
event_base_set — Associate event base with an event
$event
, resource $event_base
) : bool
Associates the event_base
with the
event
.
event
Valid event resource.
event_base
Valid event base resource.
event_base_set() returns TRUE
on success or FALSE
on error.
官方地址:https://www.php.net/manual/en/function.event-base-set.php