PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

EventBufferEvent::read

(PECL event >= 1.2.6-beta)

EventBufferEvent::readRead buffer's data

Description

public int EventBufferEvent::read ( string &$data , int $size )

Removes up to size bytes from the input buffer, storing them into data .

Parameters

data

Storage for the read data.

size

Maximum numbe rof bytes to read

Return Values

Returns the number of bytes actually removed.

See Also

PHP Manual