--TEST--
encoding conversion from script encoding into internal encoding
--SKIPIF--
<?php
if (!in_array("zend.detect_unicode", array_keys(ini_get_all()))) {
  die("skip Requires configure --enable-zend-multibyte option");
}
if (!extension_loaded("mbstring")) {
  die("skip Requires mbstring extension");
}
?>
--INI--
zend.multibyte=1
mbstring.encoding_translation = On
zend.script_encoding=Shift_JIS
mbstring.internal_encoding=UTF-8
--FILE--
<?php
	function 梊嶾擻($堷悢)
	{
		echo $堷悢;
	}

	梊嶾擻("僪儗儈僼傽僜");
?>
--EXPECT--
銉夈儸銉熴儠銈°偨
