PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

event_new

(PECL libevent >= 0.0.1)

event_newCreate new event

说明

event_new ( void ) : resource

Creates and returns a new event resource.

返回值

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