ID: 41985 Updated by: [EMAIL PROTECTED] Reported By: marc dot bau at gmx dot net -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Windows PHP Version: 5.2.3 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php \t has a special meaning in strings with double quotes. Previous Comments: ------------------------------------------------------------------------ [2007-07-12 22:26:51] marc dot bau at gmx dot net Description: ------------ The "rename" in PHP doesn't work as expected on Windows. Reproduce code: --------------- <?php rename("C:\temp\tmp_file.txt.new", "C:\temp\tmp_file.txt"); ?> Expected result: ---------------- successful rename completed. Actual result: -------------- 1. rename isn't working 2. C:\temp\tmp_file.txt is not replaced with C:\temp\tmp_file.txt.new 3. C:\temp\tmp_file.txt.new not moved to C:\temp\tmp_file.txt ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41985&edit=1