strtolower
strtolower is a built-in function in PHP that converts all alphabetic characters in a string to their lowercase equivalents. The transformation is locale-aware, meaning it follows the current locale’s rules for casing as defined by the runtime environment.
Syntax and behavior: string strtolower(string $string). The function returns the input string with ASCII letters converted
Caveats and alternatives: For UTF-8 and other multibyte encodings, strtolower may not reliably convert non-Latin characters.
Examples and usage considerations: strtolower('Hello World!') yields 'hello world!'. Developers should choose between strtolower and multibyte