PHP 8.4.1 Released!

mb_lcfirst

(PHP 8 >= 8.4.0)

mb_lcfirstMake a string's first character lowercase

说明

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.

参数

string
The input string.
encoding
The string encoding.

返回值

Returns the resulting string.

参见

  • mb_ucfirst() - Make a string's first character uppercase
  • lcfirst() - 使字符串的第一个字符小写
添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top