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