rename

PHP 4, PHP 5, PHP 7, PHP 8
rename - Renames a file or directory
Manual
Code Examples

Example #1 Example with rename

PHP Version: