|
mb_convert_casePerform case folding on a string Description
string mb_convert_case
( string
$str
, int $mode
[, string $encoding = mb_internal_encoding()
] )
Performs case folding on a string, converted in the way specified by
Parameters
Return Values
A case folded version of UnicodeBy contrast to the standard case folding functions such as strtolower and strtoupper, case folding is performed on the basis of the Unicode character properties. Thus the behaviour of this function is not affected by locale settings and it can convert any characters that have 'alphabetic' property, such as A-umlaut (Ä). For more information about the Unicode properties, please see » http://www.unicode.org/unicode/reports/tr21/. Examples
Example #1 mb_convert_case example
<?php
Example #2 mb_convert_case example with non-Latin UTF-8 text
<?php See Also
|