Search Results
See Also ¶ mb_strtolower () - Make a string lowercase mb_convert_case () - Perform case folding on a string strtoupper () - Make a string uppercase
Mar 28, 2023 · encoding: This parameter denotes the encoding parameter as the character encoding. In case if omitted or null, then the internal character encoding value will be utilized. Return value: This function converted all alphanumeric characters and then returns an uppercase string. Example 1: The following code demonstrates the mb_strtoupper () function.
Description string mb_strtoupper ( string str [, string encoding]) mb_strtoupper () returns str with all alphabetic characters converted to uppercase. encoding specifies the encoding of str; if omitted, the internal character encoding value will be used.
mb_strtoupper Function Availability PHP Codex data is built by collecting PHP symbol data on the latest release of each PHP version, or the nightly builds of the active development branch, and analyzing them to determine their availability and signature data. This ensures that symbol changes and availability is technically the most accurate.
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 (ä).
PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8 mb_strtoupper - Make a string uppercase Mb Strtoupper Online Tool Manual Code Examples
People also ask
What is MB_strtoupper() function in PHP?
What encoding parameter is used in MB_strtoupper?
What does MB_strtoupper() do?
What is the difference between MB_strtoupper and strtoupper?
The mb_strtoupper function converts a string to uppercase with support for multibyte encodings. Let's explore its usage with examples.
