1--TEST--
2mb_http_input() with pass encoding
3--EXTENSIONS--
4mbstring
5--POST--
6a=���ܸ�0123456789���ܸ쥫�����ʤҤ餬��
7--GET--
8b=���ܸ�0123456789���ܸ쥫�����ʤҤ餬��
9--INI--
10mbstring.encoding_translation=1
11input_encoding=pass
12--FILE--
13<?php
14
15echo $_POST['a']."\n";
16echo $_GET['b']."\n";
17
18// Get encoding
19var_dump(mb_http_input('P'));
20var_dump(mb_http_input('G'));
21var_dump(mb_http_input('C'));
22var_dump(mb_http_input('S'));
23var_dump(mb_http_input('I'));
24var_dump(mb_http_input('L'));
25
26?>
27--EXPECT--
28���ܸ�0123456789���ܸ쥫�����ʤҤ餬��
29���ܸ�0123456789���ܸ쥫�����ʤҤ餬��
30string(4) "pass"
31string(4) "pass"
32bool(false)
33bool(false)
34array(1) {
35  [0]=>
36  string(4) "pass"
37}
38string(4) "pass"
39