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:


Function rename:

Filesystem Functions

Most used PHP functions