1--TEST-- 2test for mbstring script_encoding for flex unsafe encoding (Shift_JIS) 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.script_encoding=Shift_JIS 14mbstring.internal_encoding=Shift_JIS 15--FILE-- 16<?php 17 function �\�\�\($����) 18 { 19 echo $����; 20 } 21 22 �\�\�\("�h���~�t�@�\"); 23?> 24--EXPECT-- 25�h���~�t�@�\ 26