- PHP 手册
- 函数参考
- 进程控制扩展
- Libevent
- Libevent 函数
event_base_new
(PECL libevent >= 0.0.1)
event_base_new — Create and initialize new event base
说明
event_base_new ( void ) : resourceReturns 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.
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.event-base-new.php