PHP supports the direct io functions as described in the Posix Standard (Section 6) for performing I/O functions at a lower level than the C-Language stream I/O functions (fopen(), fread(),..). The use of the DIO functions should be considered only when direct control of a device is needed. In all other cases, the standard filesystem functions are more than adequate.
Note: This extension is not available on Windows platforms.
Requirements
No external libraries are needed to build this extension.
Installation
To get these functions to work, you have to configure PHP with --enable-dio.
Runtime Configuration
This extension has no configuration directives defined in php.ini.
Resource Types
One resource type is defined by this extension: a file descriptor returned by dio_open().
Predefined Constants
This extension has no constants defined.
Table of Contents
dio_close -- Closes the file descriptor given by fd
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?