1--TEST--
2cp1254 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();
10
11?>
12--CONFLICTS--
13file_cp1254
14--FILE--
15<?php
16/*
17#vim: set fileencoding=cp1254
18#vim: set encoding=cp1254
19*/
20
21include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
22
23
24$item = "çokbaytlı işleri";
25$prefix = create_data("file_cp1254", $item);
26$fn = $prefix . DIRECTORY_SEPARATOR . $item;
27
28var_dump($fn);
29var_dump(touch($fn));
30var_dump(file_exists($fn));
31system("dir /b \"" . $fn . "\"");
32
33remove_data("file_cp1254");
34
35?>
36===DONE===
37--EXPECTF--
38string(%d) "%s\çokbaytlı işleri"
39bool(true)
40bool(true)
41çokbaytlı işleri
42===DONE===
43