PHP
处理控制 | Process Control

event_new

event_new

(PECL libevent >= 0.0.1)

event_new — Create new event

Description

resource event_new ( void )

Creates and returns a new event resource.

Return Values

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

← event_free

event_priority_set →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.event-new.php