1--TEST--
2encoding conversion from script encoding into internal encoding
3--SKIPIF--
4<?php
5if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
6  die("skip Requires configure --enable-zend-multibyte option");
7}
8if (!extension_loaded("mbstring")) {
9  die("skip Requires mbstring extension");
10}
11?>
12--INI--
13mbstring.encoding_translation = On
14mbstring.script_encoding=Shift_JIS
15mbstring.internal_encoding=UTF-8
16--FILE--
17<?php
18	function �\�\�\($����)
19	{
20		echo $����;
21	}
22
23	�\�\�\("�h���~�t�@�\");
24?>
25--EXPECT--
26ドレミファソ
27