mirror(string $originDir, string $targetDir, Traversable $iterator = null, array $options = array())
Mirrors a directory to another.
mirror(string $originDir, string $targetDir, Traversable $iterator = null, array $options = array())
Mirrors a directory to another.
string | $originDir | The origin directory |
string | $targetDir | The target directory |
Traversable | $iterator | A Traversable instance |
array | $options | An array of boolean options Valid options are: - $options['override'] Whether to override an existing file on copy or not (see copy()) - $options['copyonwindows'] Whether to copy files instead of links on Windows (see symlink()) - $options['delete'] Whether to delete files that are not in the source directory (defaults to false) |
IOException | When file type is unknown |
Designed by : w10schools
service@w10schools.com
Please login to continue.