← All docs

mb_lcfirst()

Converts the first character to Unicode lowercase.

mb_lcfirst()

function mb_lcfirst(string $string, ?string $encoding = null): string

Converts the first character to Unicode lowercase.

Parameters:

  • $string (string)
  • $encoding (?string), default null, optional

Returns: string

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mb_lcfirst is implemented in the compiler, see the internals page.