©
This document uses PHP Chinese website manual Release
(PECL event >= 1.2.6-beta)
EventBufferEvent::enable — Enable events read, write, or both on a buffer event.
$events
)
Enable events
Event::READ
,
Event::WRITE
, or
Event::READ
| Event::WRITE
on a buffer event.
events
Event::READ
,
Event::WRITE
, or
Event::READ
| Event::WRITE
on a buffer event.
Returns TRUE
on success. Otherwise FALSE
.