PHP 8.4.0 RC3 available for testing

mb_lcfirst

(PHP 8 >= 8.4.0)

mb_lcfirstMake a string's first character lowercase

Descrição

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

Performs a multi-byte safe lcfirst() operation, and returns a string with the first character of string lowercased if that character is an ASCII character in the range "A" (0x41) to "Z" (0x5a).

Parâmetros

string
The input string.
encoding
The string encoding.

Valor Retornado

Returns the resulting string.

Veja Também

  • mb_ucfirst() - Make a string's first character uppercase
  • lcfirst() - Torna minúsculo o primeiro caractere de uma string
adicione uma nota

Notas Enviadas por Usuários (em inglês)

Não há notas de usuários para esta página.
To Top