XXVIII. Direct IO Functions簡介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.
This extension is only available on Windows Platforms as of PHP 5.0.0 需求要編譯本增加模組無需外部庫檔案。 安裝To get these functions to work, you have to configure PHP with --enable-dio. 預定義常量以下常量由本增加模組定義,因此只有在本增加模組被編譯到 PHP 中,或是在運行時被動態加載後才有效。
運行時配置本增加模組在 php.ini 中未定義任何配置選項。 資源類型One resource type is defined by this extension: a file descriptor returned by dio_open().
| ||