summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/windows_mb_path/test_cp874_to_utf8_0.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/windows_mb_path/test_cp874_to_utf8_0.phpt')
-rw-r--r--ext/standard/tests/file/windows_mb_path/test_cp874_to_utf8_0.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/file/windows_mb_path/test_cp874_to_utf8_0.phpt b/ext/standard/tests/file/windows_mb_path/test_cp874_to_utf8_0.phpt
index 2c244997b6..3ac3035b4c 100644
--- a/ext/standard/tests/file/windows_mb_path/test_cp874_to_utf8_0.phpt
+++ b/ext/standard/tests/file/windows_mb_path/test_cp874_to_utf8_0.phpt
@@ -2,7 +2,7 @@
Thai UTF-8 basic test
--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=cp874
*/
-include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util.inc";
+include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
$names = array( /* cp874 */
"เป็นแฟ้มที่ทดสอบ1",
@@ -32,7 +32,7 @@ $names = array( /* cp874 */
$i = 0;
foreach ($names as $name) {
- $pathw = dirname(__FILE__) . DIRECTORY_SEPARATOR . iconv('cp874', 'utf-8', $name) . ".txt";
+ $pathw = __DIR__ . DIRECTORY_SEPARATOR . iconv('cp874', 'utf-8', $name) . ".txt";
file_put_contents($pathw, "hello" . $i++);