We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34e7c2d + b154c12 commit aa02c25Copy full SHA for aa02c25
ext/standard/tests/file/rename_variation.phpt
@@ -26,12 +26,12 @@ $src_filenames = array(
26
"$file_path//rename_variation//rename_variation.tmp",
27
);
28
$counter = 1;
29
-/* loop through each $file and rename it to rename_variation2.tmp */
+/* loop through each $file and rename it to rename_variation_renamed.tmp */
30
foreach($src_filenames as $src_filename) {
31
echo "-- Iteration $counter --\n";
32
$fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w");
33
fclose($fp);
34
- $dest_filename = "$file_path/rename_variation2.tmp";
+ $dest_filename = "$file_path/rename_variation_renamed.tmp";
35
var_dump( rename($src_filename, $dest_filename) );
36
// ensure that file got renamed to new name
37
var_dump( file_exists($src_filename) ); // expecting false
0 commit comments