Lines Matching refs:file_path
12 $file_path = __DIR__;
15 $file = $file_path."/copy_variation7.tmp";
20 $symlink = $file_path."/copy_variation7_symlink.tmp";
21 $hardlink = $file_path."/copy_variation7_hardlink.tmp";
27 var_dump( filesize($file_path."/copy_variation7_symlink.tmp") ); //size of the symlink itself
29 var_dump( filesize($file_path."/copy_variation7_hardlink.tmp") ); //size of the file
34 var_dump( copy($symlink, $file_path."/copy_copy_variation7_symlink.tmp") );
35 var_dump( file_exists($file_path."/copy_copy_variation7_symlink.tmp") );
36 var_dump( is_link($file_path."/copy_copy_variation7_symlink.tmp") );
37 var_dump( is_file($file_path."/copy_copy_variation7_symlink.tmp") );
38 var_dump( filesize($file_path."/copy_copy_variation7_symlink.tmp") );
42 var_dump( copy($hardlink, $file_path."/copy_copy_variation7_hardlink.tmp") );
43 var_dump( file_exists($file_path."/copy_copy_variation7_hardlink.tmp") );
44 var_dump( is_link($file_path."/copy_copy_variation7_hardlink.tmp") );
45 var_dump( is_file($file_path."/copy_copy_variation7_hardlink.tmp") );
46 var_dump( filesize($file_path."/copy_copy_variation7_hardlink.tmp") );
53 $file_path = __DIR__;
54 unlink($file_path."/copy_copy_variation7_symlink.tmp");
55 unlink($file_path."/copy_copy_variation7_hardlink.tmp");
56 unlink($file_path."/copy_variation7_symlink.tmp");
57 unlink($file_path."/copy_variation7_hardlink.tmp");
58 unlink($file_path."/copy_variation7.tmp");