#20984 [Com]: copy( "file.txt" , "file.txt" ) empties the file

2002-12-14 Thread john . doe
ID: 20984 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Unknown/Other Function Operating System: w2k PHP Version: 4.2.3 New Comment: Well, It's not allowed to do that in a command window. Why should thi

#20984 [NEW]: copy( "file.txt" , "file.txt" ) empties the file

2002-12-13 Thread john . doe
From: [EMAIL PROTECTED] Operating system: w2k PHP version: 4.2.3 PHP Bug Type: Unknown/Other Function Bug description: copy( "file.txt" , "file.txt" ) empties the file copy( "toto.txt" , "toto.txt"); // then toto.txt is empty -- Edit bug report at http://bugs.php.net/?id=2