#29257 [Opn->Fbk]: breaking copy file to the same

From: Date: Tue, 20 Jul 2004 00:47:42 +0000
Subject: #29257 [Opn->Fbk]: breaking copy file to the same
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62695@lists.php.net to get a copy of this message
ID: 29257 Updated by: iliaa@php.net Reported By: zet at male dot ru -Status: Open +Status: Feedback Bug Type: *Directory/Filesystem functions Operating System: Windows XP SP1 PHP Version: 4.3.7 New Comment: what happens if you do: copy("C:\\file.gif", "C:\\file.gif") Previous Comments: ------------------------------------------------------------------------ [2004-07-19 15:06:24] zet at male dot ru Description: ------------ When i copy file with function copy, like this copy("C:\file.gif", "C:\file.gif"), file was break. His size is 0. Reproduce code: --------------- copy("C:\file.gif", "C:\file.gif"); Expected result: ---------------- IMHO file must stand without changes. Actual result: -------------- File changed. His size is 0. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29257&edit=1

« previous php.bugs (#62695) next »