|
mb_convert_casePerform case folding on a string Beschreibung
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
Parameter-Liste
Rückgabewerte
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/. Beispiele
Beispiel #1 mb_convert_case example
<?php
Beispiel #2 mb_convert_case example with non-Latin UTF-8 text
<?phpSiehe auch
|