• PHP Video Tutorials

PHP - Direct I/O write() Function



dio_write() function can write data to fd with optional truncation of length.

Syntax

int dio_write( resource fd, string data [, int len] )

dio_write() function can write up to len bytes from the data to the fd file. If len is not specified, dio_write() can write all data to a specified file.

dio_write() function can return the number of bytes written to fd.

php_function_reference.htm
Advertisements