|
|
|
@ -2,9 +2,11 @@ |
|
|
|
test for mbstring script_encoding for flex unsafe encoding (Shift_JIS) |
|
|
|
--SKIPIF-- |
|
|
|
<?php |
|
|
|
ini_set("mbstring.script_encoding","SJIS"); |
|
|
|
if (ini_set("mbstring.script_encoding","SJIS") != "SJIS") { |
|
|
|
die("skip zend-multibyte is not available"); |
|
|
|
if (!in_array("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-- |
|
|
|
|