HomeMenu
Bible PicturesGoogle
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

mb_lcfirst

Description

The mb_lcfirst of Multibyte String for PHP makes the first character of a string lowercase.

Syntax

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

Parameters

string

The input string.

encoding

The character encoding.

If omitted or null, the internal character encoding value will be used.

Return

Returns the modified string.

Examples

1 · string

<?

$string = "ÄBEL";

$return = mb_lcfirst($string);

echo $return;
2026-11-26T05:32:04+00:00
Thursday, 26-Nov-2026 05:32:04 UTC
Thu, 26 Nov 2026 05:32:04 +0000
2026-11-26T05:32:04+00:00

2 · encoding

<?

$string = "ÄBEL";
$encoding = "UTF-8";

$return = mb_lcfirst($string, $encoding);

echo $return;
day
d: 26
D: Thu
j: 26
l: Thursday
N: 4
S: th
w: 4
z: 329

week
W: 48

month
F: November
m: 11
M: Nov
n: 11
t: 30

year
L: 0
o: 2026
y: 26
Y: 2026

time
a: am
A: AM
B: 272
g: 5
G: 5
h: 05
H: 05
i: 32
s: 05
u: 000000
v: 000

timezone
e: UTC
I: 0
O: +0000
P: +00:00
T: UTC
Z: 0

full
c: 2026-11-26T05:32:05+00:00
r: Thu, 26 Nov 2026 05:32:05 +0000
U: 1795671125