<?php rename(string $from, string $to, ?resource $context = null): bool
<?php file_put_contents($tempPath, $content); rename($tempPath, $path); }
<?php public function move($path, $target) { return rename($path, $target); }
<?php return false; } return @rename($from, $to) === true; }