summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/windows_mb_path/test_cp1252_to_utf8_0.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/windows_mb_path/test_cp1252_to_utf8_0.phpt')
-rw-r--r--ext/standard/tests/file/windows_mb_path/test_cp1252_to_utf8_0.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/windows_mb_path/test_cp1252_to_utf8_0.phpt b/ext/standard/tests/file/windows_mb_path/test_cp1252_to_utf8_0.phpt
index ef5dc9397d..dc673c260b 100644
--- a/ext/standard/tests/file/windows_mb_path/test_cp1252_to_utf8_0.phpt
+++ b/ext/standard/tests/file/windows_mb_path/test_cp1252_to_utf8_0.phpt
@@ -2,7 +2,7 @@
Test fopen() for reading cp1252 to UTF-8 path
--SKIPIF--
<?php
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util.inc";
+include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
skip_if_not_win();
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
@@ -16,7 +16,7 @@ skip_if_no_required_exts();
#vim: set encoding=cp1252
*/
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util.inc";
+include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
$item = iconv('cp1252', 'utf-8', "tschüß"); // cp1252 string
$prefix = create_data("file_cp1252", $item);