W3cubDocs

/PHP

EventBufferEvent::disable

(PECL event >= 1.2.6-beta)

EventBufferEvent::disableDisable events read, write, or both on a buffer event

Description

public EventBufferEvent::disable( int $events ): bool

Disable events Event::READ, Event::WRITE, or Event::READ | Event::WRITE on a buffer event.

Parameters

events

Return Values

Returns true on success or false on failure.

See Also

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventbufferevent.disable.php