readdir

readdir

(PHP 4, PHP 5, PHP 7)

readdirRead entry from directory handle

Description

string readdir ([ resource $dir_handle ] )

Returns the name of the next entry in the directory. The entries are returned in the order in which they are stored by the filesystem.

Parameters

dir_handle

The directory handle resource previously opened with 登录查看完整内容