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