Function

readdir

Synopsis

readdir(mixed): mixed

Area
Runtime\PS\Files\readdirareas

Description

readdir returns the next name in $dir_handle, or false once the listing runs out; it lists "." and "..", as php lists them, and the handle is mandatory, because there is no last-opened directory to fall back on.

Usage

$value = readdir($arguments);
$fn = readdir(...);

See also