php-src/ext/mbstring/tests/ini_language.phpt

16 lines
342 B
PHP

--TEST--
mbstring.language bug
--SKIPIF--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
--INI--
mbstring.internal_encoding=Shift_JIS
mbstring.language=Japanese
--FILE--
<?php
var_dump(ini_get('mbstring.internal_encoding'));
var_dump(mb_internal_encoding());
?>
--EXPECT--
string(9) "Shift_JIS"
string(4) "SJIS"