summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug39538.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/bug39538.phpt')
-rw-r--r--ext/standard/tests/file/bug39538.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/bug39538.phpt b/ext/standard/tests/file/bug39538.phpt
index 71b5dea616..cdff507b48 100644
--- a/ext/standard/tests/file/bug39538.phpt
+++ b/ext/standard/tests/file/bug39538.phpt
@@ -4,7 +4,7 @@ Bug #39538 (fgetcsv can't handle starting newlines and trailing odd number of ba
<?php
$content = array("\"\nthis is an test\", \"next data\", \"p\narsed\"","\"\r\nthis is an test\", \"next data\", \"p\r\narsed\"","\"\n\rthis is an test\", \"next data\", \"p\n\rarsed\"");
-$file = dirname(__FILE__) . "/bug39538.csv";
+$file = __DIR__ . "/bug39538.csv";
@unlink($file);
foreach ($content as $v) {
file_put_contents($file, $v);