chdir()
function chdir(string $directory): bool
Changes the current directory.
Parameters:
$directory(string)
Returns: bool
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how chdir is implemented in the compiler, see the internals page.