1--TEST--
2Test escapeshellarg() function: basic test with UTF-8 strings
3--SKIPIF--
4<?php
5if( substr(PHP_OS, 0, 3) != "WIN" )
6  die("skip.. only for Windows");
7?>
8--FILE--
9<?php
10echo "Simple testcase for escapeshellarg() function\n";
11
12var_dump(escapeshellarg("テストマルチバイ'ト・パス"));
13var_dump(escapeshellarg("測試多字\'節路徑"));
14var_dump(escapeshellarg("%füße"));
15var_dump(escapeshellarg("!шницель"));
16
17echo "Done\n";
18?>
19--EXPECT--
20Simple testcase for escapeshellarg() function
21string(39) ""テストマルチバイ'ト・パス""
22string(25) ""測試多字\'節路徑""
23string(9) "" füße""
24string(17) "" шницель""
25Done
26