strtolower

PHP 4, PHP 5, PHP 7, PHP 8
strtolower - Make a string lowercase

strtolower( string$string ): string

Returns string with all alphabetic characters converted to lowercase.

Note that 'alphabetic' is determined by the current locale. This means that e.g. in the default "C" locale, characters such as umlaut-A (Ä) will not be converted.

Parameters

string

The input string.

Return Values

Returns the lowercased string.

Notes

Note:

This function is binary-safe.

Related Functions

Example of strtolower

Show all examples for strtolower

PHP Version:


Function strtolower:

Strings Functions

Most used PHP functions