summaryrefslogtreecommitdiff
path: root/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/dir/readdir_variation4-win32-mb.phpt')
-rw-r--r--ext/standard/tests/dir/readdir_variation4-win32-mb.phpt22
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt b/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt
index 8e9e3b610e..c2bf8b1616 100644
--- a/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt
+++ b/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt
@@ -55,24 +55,24 @@ $inputs = array(
$iterator = 1;
foreach($inputs as $key => $input) {
- echo "\n-- Iteration $iterator --\n";
- $handle = "fp{$iterator}";
- var_dump( $$handle = @fopen($dir_path . "私はガラスを食べられます$input.tmp", 'w') );
- var_dump( fwrite($$handle, $key));
- fclose($$handle);
- $iterator++;
+ echo "\n-- Iteration $iterator --\n";
+ $handle = "fp{$iterator}";
+ var_dump( $$handle = @fopen($dir_path . "私はガラスを食べられます$input.tmp", 'w') );
+ var_dump( fwrite($$handle, $key));
+ fclose($$handle);
+ $iterator++;
};
echo "\n-- Call to readdir() --\n";
$dir_handle = opendir($dir_path);
while(FALSE !== ($file = readdir($dir_handle))){
- // different OS order files differently so will
- // store file names into an array so can use sorted in expected output
- $contents[] = $file;
+ // different OS order files differently so will
+ // store file names into an array so can use sorted in expected output
+ $contents[] = $file;
- // remove files while going through directory
- @unlink($dir_path . $file);
+ // remove files while going through directory
+ @unlink($dir_path . $file);
}
// more important to check that all contents are present than order they are returned in