©
This document uses PHP Chinese website manual Release
(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.