Libevent 函数
PHP Manual

event_new

(PECL libevent >= 0.0.1)

event_newCreate new event

说明

resource event_new ( void )

Creates and returns a new event resource.

返回值

event_new() returns a new event resource on success or FALSE on error.


Libevent 函数
PHP Manual