eio_readdir
eio_readdir
(PECL eio >= 0.0.1dev)
eio_readdir — Reads through a whole directory
Description
resource eio_readdir ( string $path , int $flags , int $pri , callable $callback [, string $data = NULL ] )
Reads through a whole directory(via the opendir, readdir and closedir system calls) and returns either the names or an array in result
argument of callback
function, depending on the flags
argument.