略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: EventBufferEvent::read

2026-10-03

EventBufferEvent::read

(PECL event >= 1.2.6-beta)

EventBufferEvent::read — Read buffer's data

说明

public EventBufferEvent::read( int $size ): string

Removes up to size bytes from the input buffer. Returns a string of data read from the input buffer.

参数

size

Maximum number of bytes to read

返回值

Returns string of data read from the input buffer.

参见

+添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/eventbufferevent.read.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3