Direct I/O 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(),..).

DIO provides functions and stream wrappers which provide raw and
serial low level IO support. 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.

License: PHP

Latest releases

Version Release Download
0.2.1 2022-01-25 dio-0.2.1.tgz
0.2.0 2020-04-16 dio-0.2.0.tgz
0.1.0 2017-03-25 dio-0.1.0.tgz
0.0.9 2016-12-13 dio-0.0.9.tgz
0.0.8 2016-12-13 dio-0.0.8.tgz
Show all releases


Version Message
0.2.1 - fix windows build
0.2.0 - fix stream API for PHP 7.4+
0.1.0 - Fixed memory leak in dio_read (Dawid Zamirski)
- Fixed Bug #74209 dio_stat - appended nulls (Remi)
0.0.9 - fix segfault in dio_raw (php 7, big endian)
0.0.8 - PHP 5 and PHP 7 compatible version
- add more baudrates (Michael Heimpold)
Show complete changelog