1--TEST--
2Thai cp874 cmd test
3--SKIPIF--
4<?php
5include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
6
7skip_if_not_win();
8if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
9skip_if_no_required_exts();
10skip_if_wrong_cp(874, "ansi");
11
12?>
13--CONFLICTS--
14file_cp874
15--INI--
16internal_encoding=cp874
17--FILE--
18<?php
19/*
20#vim: set fileencoding=cp874
21#vim: set encoding=cp874
22*/
23
24include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
25
26
27$item = "�������跴�ͺ11";
28$prefix = create_data("file_cp874", $item, 874);
29$fn = __DIR__ . DIRECTORY_SEPARATOR . $item;
30
31var_dump($fn);
32var_dump(touch($fn));
33var_dump(file_exists($fn));
34system("dir /b " . $fn);
35
36remove_data("file_cp874");
37
38?>
39--EXPECTF--
40string(%d) "%s\�������跴�ͺ11"
41bool(true)
42bool(true)
43�������跴�ͺ11
44