chroot

Supported Versions: PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8
Change the root directory
<?php chroot(string $directory): bool