Name
readdir
Synopsis
string readdir(int handle
)
Returns the name of the next file in the directory referenced
by handle
; the order in which files in a
directory are returned by calls to readdir(
)
is undefined. If there are no more files in the
directory to return, readdir( )
returns false
.
Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.