PHP - Manual: event_base_new
2024-12-22
(PECL libevent >= 0.0.1)
event_base_new — Create and initialize new event base
Returns new event base, which can be used later in event_base_set(), event_base_loop() and other functions.
此函数没有参数。
event_base_new() returns valid event base resource on
success or FALSE
on error.
官方地址:https://www.php.net/manual/en/function.event-base-new.php