• PHP Video Tutorials

PHP - Direct I/O read() Function



dio_read() function can read bytes from a file descriptor.

Syntax

string dio_read( resource $fd [, int $len = 1024 ] )

dio_read() function can read and return len bytes from a file with a resource descriptor. If len is not specified, the dio_read() function can read 1K block and return it.

dio_read() function can return the bytes read from fd.

php_function_reference.htm
Advertisements