php8.5
Home/ Manual/ mbstring / functions/ mb_lcfirst

mb_lcfirst

PHP function Edit on GitHub ✎

(PHP 8 >= 8.4.0)

Make a string's first character lowercase

Description

mb_lcfirst(string $string, string|null $encoding = null): string

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

Parameters

string

The input string.

encoding

Parameter

Return Values

Returns the resulting string.

See Also

Source: reference/mbstring/functions/mb-lcfirst.xml · from the official PHP manual (php/doc-en)