|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2013-04-02 14:13 UTC] remi@php.net
 
-Assigned To:
+Assigned To: remi
  [2013-04-02 14:24 UTC] remi@php.net
 
-Status: Assigned
+Status: Closed
  [2013-04-02 14:24 UTC] remi@php.net
  [2014-10-07 23:19 UTC] stas@php.net
  [2014-10-07 23:30 UTC] stas@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ When destination folder of a copy haven't enough place, copy reports success instead of failure. Test script: --------------- <?php $file = "somefile"; $tmpdir = "/mnt/test/"; echo "Source: ".($src=filesize($file))."\n"; for ($i=0 ; $i<7 ; $i++) { $res = copy($file, $tmpdir.$i); $dst = filesize($tmpdir.$i); echo "$i:".($res ? ($dst==$src ? "ok" : "ISSUE ($dst/$src)") : "ko")."\n"; } Expected result: ---------------- Source: 107520 0:ok 1:ok 2:ok 3:ok 4:ko 5:ko 6:ko Actual result: -------------- Source: 107520 0:ok 1:ok 2:ok 3:ok 4:ISSUE (49152/107520) 5:ko 6:ko