mb_strtoupper

Синтаксис

native mb_strtoupper(string[], maxlength = 0);

Употреба

string
The string to convert.
maxlength
Optional size of the buffer. If 0, the length of the original string
will be used instead.

Описание

Performs a multi-byte safe (UTF-8) conversion of all chars in string to upper case.

Забележка

Although most code points can be converted in-place, there are notable
exceptions and the final length can vary.

Забележка

Case mapping is not reversible. That is, toUpper(toLower(x)) != toLower(toUpper(x)).

Връщаща стойност

Number of bytes written.