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 this function empty the file.
I suggest return false only and leave the file as it is like in the
command window.


Previous Comments:
------------------------------------------------------------------------

[2002-12-13 04:05:32] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

[2002-12-13 03:39:33] [EMAIL PROTECTED]

copy( "toto.txt" , "toto.txt"); // then toto.txt is empty


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20984&edit=1

Reply via email to