rename

rename ( string source , string destination ) : void

Rename a file.

See also

delete
write
move

Parameters

source

Source file to rename (complete path)

destination

Destination file to rename (complete path)