#32280 [Opn->Bgs]: Renaming a folder to same name as file results in error

From: Date: Fri, 11 Mar 2005 22:37:22 +0000
Subject: #32280 [Opn->Bgs]: Renaming a folder to same name as file results in error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75239@lists.php.net to get a copy of this message
ID: 32280 Updated by: pollita@php.net Reported By: tss24 at cornell dot edu -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: WinXP Pro PHP Version: 5.0.3 New Comment: No duh. Previous Comments: ------------------------------------------------------------------------ [2005-03-11 22:32:01] tss24 at cornell dot edu Description: ------------ When renaming a folder to same name as file in same path, an error occurs. example: folder: test1 folder: test2 file01: file1 file02: file2 renaming test1 to file1 (even though it's still a folder on the system) causes an error. Reproduce code: --------------- rename($oldname,$newname); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32280&edit=1

« previous php.bugs (#75239) next »