PHP: Hypertext Preprocessor (original) (raw)

mb_lcfirst

(PHP 8 >= 8.4.0)

mb_lcfirst — Make a string's first character lowercase

Description

Performs a multi-byte safe lcfirst() operation, and returns a string with the first character ofstring lowercased.

Parameters

string

The input string.

encoding

The encodingparameter is the character encoding. If it is omitted or [null](reserved.constants.php#constant.null), the internal character encoding value will be used.

Return Values

Returns the resulting string.

See Also