$move = f::move('test.txt', 'super.txt'); if($move) echo 'The file has been moved';
public static function move($old, $new) { if (!file_exists($old) || file_exists($new)) { return false; } return @rename($old, $new); }