PHP » GoLang |
login |
register |
about
|
mb_strtoupper(PHP 4 >= 4.3.0, PHP 5, PHP 7) mb_strtoupper — Make a string uppercase Description
string mb_strtoupper
( string
$str
[, string $encoding = mb_internal_encoding()
] )
Returns Parameters
Return Values
UnicodeFor more information about the Unicode properties, please see » http://www.unicode.org/unicode/reports/tr21/. By contrast to strtoupper(), 'alphabetic' is determined by 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 (ä). Examples
Example #1 mb_strtoupper() example
<?php
Example #2 mb_strtoupper() example with non-Latin UTF-8 text
<?php See Also
|
more
Recently updated
more
Most requested
|