readdir()
function readdir(resource $dir_handle): mixed
Read entry from directory handle.
Parameters:
$dir_handle(resource)
Returns: mixed
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how readdir is implemented in the compiler, see the internals page.