The What
It’s available in PHP 4, 5, and 7.
Syntax
string mb_strtolower( string $string_to_convert, string $character_encoding = mb_internal_encoding() );
Description
This construct converts a string’s alphabetic characters to lowercase. It uses the current locale to determine the converter. Unlike the strtolower(), you can specify the character encoding, such as “UTF-8.”
Why? This function ensures characters such as umlaut-A (Ä) are properly converted.
Parameters
string_to_convert
- This is the string to be converted into lowercase characters.
character_encoding
- (optional) You can specify the character encoding to ensure that expanded character sets, such as umlaut-A (Ä) are properly converted.
Return Values
This function returns the converted string.
When was the last time you got out of your chair and stretched? Just saying…
More coming soon…keep checking back.