PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular

strtolower

Tags: PHP 5.x PHP 7.x PHP 8.x

strtolower — Make a string lowercase.

Description

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.

strtolower - New snippets