Lines Matching refs:file_path
17 $file_path = dirname(__FILE__);
18 mkdir("$file_path/rename_variation_dir");
22 $fp = fopen($file_path."/rename_variation.tmp", "w");
26 var_dump( rename($file_path."/rename_variation.tmp", $file_path."/12345") );
29 var_dump( file_exists($file_path."/rename_variation.tmp" ) ); // expecting false
30 var_dump( file_exists($file_path."/12345" ) ); // expecting true
32 unlink($file_path."/12345");
35 var_dump( rename($file_path."/rename_variation_dir/", $file_path."/12345") );
38 var_dump( file_exists($file_path."/rename_variation_dir" ) ); // expecting false
39 var_dump( file_exists($file_path."/12345" ) ); // expecting true
41 rmdir($file_path."/12345");
47 $file_path = dirname(__FILE__);
48 unlink($file_path."/rename_variation_link.tmp");
49 unlink($file_path."/rename_variation.tmp");
50 rmdir($file_path."/rename_variation_dir");