Method: f::move

Moves a file to a new location

Info

Syntax

f::move($old, $new)

Parameters

Return (boolean)

Example


$move = f::move('test.txt', 'super.txt');

if($move) echo 'The file has been moved';