Lines Matching refs:file
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";
10 $file = $file_path."/copy_variation11.tmp";
11 $file_handle = fopen($file, "w");
19 var_dump( filesize($file) ); //size of source before copy
26 var_dump( copy($file, $dir) ); //expected: bool(false)
28 var_dump( file_exists($file) ); //expected: bool(true)
31 var_dump( is_file($file) ); //expected: bool(true)
32 var_dump( is_dir($file) ); //expected: bool(false)
37 var_dump( filesize($file) ); //size of source after copy
48 *** Test copy() function: Trying to create a copy of source file as a dir ***