Lines Matching refs:rename
2 Test rename() function: variation
9 echo "\n*** Testing rename() on non-existing file ***\n";
15 var_dump( rename($src_name, $dest_name) );
21 // rename a existing dir to new name
22 echo "\n*** Testing rename() on existing directory ***\n";
26 var_dump( rename($dir_name, $new_dir_name) );
31 // try to rename an non_existing dir
32 echo "\n*** Testing rename() on non-existing directory ***\n";
35 var_dump( rename($non_existent_dir_name, $new_dir_name) );
47 *** Testing rename() on non-existing file ***
49 Warning: rename(%s/non_existent_file.tmp,%s/rename_variation8_new.tmp): No such file or directory i…
54 *** Testing rename() on existing directory ***
59 *** Testing rename() on non-existing directory ***
61 Warning: rename(%s/non_existent_dir,%s/rename_basic_dir2): No such file or directory in %s on line …