event_buffer_write
event_buffer_write
(PECL libevent >= 0.0.1)
event_buffer_write — Write data to a buffered event
Description
bool event_buffer_write ( resource $bevent , string $data [, int $data_size = -1 ] )
Writes data to the specified buffered event. The data is appended to the output buffer and written to the descriptor when it becomes available for writing.
Parameters
bevent
Valid buffered event resource.
data
The data to be written.
data_size
Optional size parameter. event
_
buffer
_
write()
writes all the data
by default.
Return Values
event
_
buffer
_
write()
returns TRUE
on success or FALSE
on error.
← event_buffer_watermark_set
event_del →
© 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-buffer-write.php