(PHP 8 >= 8.4.0)
mb_ucfirst — Make a string's first character uppercase
Performs a multi-byte safe ucfirst() operation,
and returns a string with the first character of
string capitalized, if that character is
an ASCII character in the range from "a" (0x61) to
"z" (0x7a).
stringencodingReturns the resulting string.