PHP 8.5.0 Alpha 2 available for testing

mb_lcfirst

(PHP 8 >= 8.4.0)

mb_lcfirstConvierte la primera letra de un string a minúscula

Descripción

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

Realiza una operación lcfirst() segura para multi-octetos, y devuelve un string con la primera letra de string en minúscula.

Parámetros

string
El string de entrada.
encoding

The encoding parameter is the character encoding. If it is omitted or null, the internal character encoding value will be used.

Valores devueltos

Devuelve el string resultante.

Ver también

  • mb_ucfirst() - Convierte una string con la primera letra en mayúscula
  • lcfirst() - Pone el primer carácter en minúscula
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top