Lines Matching refs:copy
2 Test copy() function: usage variations - existing dir as destination
5 /* Test copy(): Trying to copy the file to a destination, where destination is an existing dir */
9 echo "*** Test copy() function: Trying to create a copy of source file as a dir ***\n";
18 echo "Size of source before copy operation => ";
19 var_dump( filesize($file) ); //size of source before copy
21 echo "Size of destination before copy operation => ";
22 var_dump( filesize($dir) ); //size of destination before copy
25 echo "\n-- Now applying copy() operation --\n";
26 var_dump( copy($file, $dir) ); //expected: bool(false)
37 var_dump( filesize($file) ); //size of source after copy
38 var_dump( filesize($dir) ); //size of destination after copy
48 *** Test copy() function: Trying to create a copy of source file as a dir ***
49 Size of source before copy operation => int(300)
50 Size of destination before copy operation => int(%d)
52 -- Now applying copy() operation --