1--TEST--
2encoding conversion from script encoding into internal encoding
3--SKIPIF--
4<?php
5if (!in_array("zend.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--
13zend.multibyte=1
14mbstring.encoding_translation = On
15zend.script_encoding=Shift_JIS
16internal_encoding=UTF-8
17--FILE--
18<?php
19	function �\�\�\($����)
20	{
21		echo $����;
22	}
23
24	�\�\�\("�h���~�t�@�\");
25?>
26--EXPECT--
27ドレミファソ
28