← All docs

opendir()

Open directory handle.

opendir()

function opendir(string $directory): mixed

Open directory handle.

Parameters:

  • $directory (string)

Returns: mixed

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how opendir is implemented in the compiler, see the internals page.