diff options
-rw-r--r-- | ext/standard/tests/file/bug65701.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/bug65701.phpt b/ext/standard/tests/file/bug65701.phpt index 42d8d3e628..98c3d3d381 100644 --- a/ext/standard/tests/file/bug65701.phpt +++ b/ext/standard/tests/file/bug65701.phpt @@ -22,7 +22,7 @@ var_dump(filesize($dst)); <?php $file_path = dirname(__FILE__) . "/bug65701/"; foreach (scandir($file_path) as $file) { - if (strpos($file, "bug65701") !== false) { + if (strpos($file, "bug65701") !== false || 'WIN' == substr(PHP_OS, 0, 3)) { unlink($file_path . $file); } } |