Search Results
See Also ¶ mb_strtoupper () - Make a string uppercase mb_convert_case () - Perform case folding on a string strtolower () - Make a string lowercase
Apr 28, 2025 · Return value: This function converted the uppercase string into lowercase alphanumeric characters and then returns those characters. Example 1: The following code shows the working for the mb_strtolower () function.
In PHP, what is the difference between strtolower and mb_strtolower? If I want to convert submitted email address, to be converted to lowercase, which one should I use?
- strtolower() doesn't work for Polish chars. will return: mĄka the best solution - use mb_strtolower() will return: mąka See strtolower() & mb_...
- whats is the different between strtolower and mb_strtolower? The mb_* functions work with multi-byte string. The manual says: By contrast to strtol...
- The mb_ functions work with Multi-Byte (unicode) strings as well. E-Mail addresses shouldn't be case sensitive - there isn't much reason to convert...
- If you use this function on a unicode string without telling PHP that it is unicode, then you will corrupt your string. In particular, the uppercas...
Jun 6, 2025 · The mb_strtolower () function in PHP turns every letter in a string into lowercase. It works with multibyte encodings like UTF-8.
Notes Contrairement à strtolower (), le concept de caractère 'alphabétique' est déterminé par les propriétés Unicode. De ce fait, le comportement de cette fonction n'est pas modifié par les configurations locales, et elle peut convertir tout les caractères qui sont considérés comme alphabétiques comme le c cédille (ç).
mb_strtolower 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 strtolower (), '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 (Ä).
