diff options
Diffstat (limited to 'ext/standard/tests/file/bug65701.phpt')
-rw-r--r-- | ext/standard/tests/file/bug65701.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/bug65701.phpt b/ext/standard/tests/file/bug65701.phpt index 98c3d3d381..c4a356b41b 100644 --- a/ext/standard/tests/file/bug65701.phpt +++ b/ext/standard/tests/file/bug65701.phpt @@ -4,7 +4,7 @@ Test for bug #65701: copy() doesn't work when destination filename is created by Boro Sitnikovski <buritomath@yahoo.com> --FILE-- <?php -$file_path = dirname(__FILE__) . "/bug65701/"; +$file_path = __DIR__ . "/bug65701/"; if (!is_dir($file_path)) { mkdir($file_path); @@ -20,7 +20,7 @@ var_dump(filesize($dst)); ?> --CLEAN-- <?php -$file_path = dirname(__FILE__) . "/bug65701/"; +$file_path = __DIR__ . "/bug65701/"; foreach (scandir($file_path) as $file) { if (strpos($file, "bug65701") !== false || 'WIN' == substr(PHP_OS, 0, 3)) { unlink($file_path . $file); |