← All docs

rmdir()

Removes a directory.

rmdir()

function rmdir(string $directory): bool

Removes a directory.

Parameters:

  • $directory (string)

Returns: bool

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

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