Doc #69559 [Com]: mb_language() default is "neutral", and the possible languages are more broad
Edit report at https://bugs.php.net/bug.php?id=69559&edit=1
ID: 69559
Comment by: bishop@php.net
Reported by: bishop@php.net
Summary: mb_language() default is "neutral", and the possible
languages are more broad
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.6.8
Block user comment: N
Private report: N
New Comment:
And, actually, there are aliases that are valid too:
Deutsch
universal
Previous Comments:
------------------------------------------------------------------------
[2015-05-01 17:28:44] bishop@php.net
Description:
------------
---
From manual page: http://www.php.net/function.mb-language
---
By default, mb_language returns "neutral", per:
https://github.com/php/php-src/blob/PHP-5.6.8/ext/mbstring/mbstring.c#L1473
Further, the list of possible languages are:
German
English
Armenian
Japanese
Korean
neutral
Russian
Turkish
Ukrainian
uni
Simplified Chinese
Traditional Chinese
As found in the C files from:
https://github.com/php/php-src/tree/PHP-5.6.8/ext/mbstring/libmbfl/nls
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69559&edit=1
Thread (4 messages)