diff options
Diffstat (limited to 'ext/standard/tests/file/windows_mb_path/test_cp936_to_utf8_2.phpt')
-rw-r--r-- | ext/standard/tests/file/windows_mb_path/test_cp936_to_utf8_2.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/windows_mb_path/test_cp936_to_utf8_2.phpt b/ext/standard/tests/file/windows_mb_path/test_cp936_to_utf8_2.phpt index b260b7b37f..b4fe8415c2 100644 --- a/ext/standard/tests/file/windows_mb_path/test_cp936_to_utf8_2.phpt +++ b/ext/standard/tests/file/windows_mb_path/test_cp936_to_utf8_2.phpt @@ -2,7 +2,7 @@ Test fopen() for write cp936 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=cp936 */ -include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util.inc"; +include __DIR__ . DIRECTORY_SEPARATOR . "util.inc"; $item = iconv('cp936', 'utf-8', "yԇֹ·"); // cp936 string $prefix = create_data("file_cp936", $item . "25"); |