3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function generate_password( $length = 8 ) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; $password = substr( str_shuffle( $chars ), 0, $length ); return $password; } echo generate_password(6); ?>
Output for 7.1.0
pNV0ti
Output for 7.0.14
Twelb9
Output for 7.0.6
OEgNMP
Output for 7.0.5
P8itEm
Output for 7.0.4
OSe7ZB
Output for 7.0.3
YgF4b8
Output for 7.0.2
80uWGX
Output for 7.0.1
Jfd5RG
Output for 7.0.0
E3OSUR
Output for hhvm-3.12.0
P9wvA1
Output for hhvm-3.10.0
TuUrCj
Output for 5.6.28
vmPFNb
Output for 5.6.21
GJTixN
Output for 5.6.20
oVsL8h
Output for 5.6.19
c75ZRv
Output for 5.6.18
2AjvBb
Output for 5.6.17
6gv3UL
Output for 5.6.16
Kj1zVd
Output for 5.6.15
4KvFCl
Output for 5.6.14
fnBPhK
Output for 5.6.13
xDN4yT
Output for 5.6.12
23EG5o
Output for 5.6.11
J8ES4I
Output for 5.6.10
X5SvTE
Output for 5.6.9
XZus19
Output for 5.6.8
Rw7l6W
Output for 5.6.7
ho0Om5
Output for 5.5.35
yHn1qI
Output for 5.5.34
5jQLmK
Output for 5.5.33
95laBH
Output for 5.5.32
cnwsGN
Output for 5.5.31
TezDhu
Output for 5.5.30
8dEIy0
Output for 5.5.29
6YsM1p
Output for 5.5.28
V9pGTo
Output for 5.5.27
T6W2Y1
Output for 5.5.26
M7fSG3
Output for 5.5.25
87VQPO
Output for 5.5.24
almUeS
Output for 5.4.45
C0cVDO
Output for 5.4.44
Ll2vzx
Output for 5.4.43
cICPMt
Output for 5.4.42
GEf1B2
Output for 5.4.41
eAY8E3
Output for 5.4.40
w0jMFR
Output for 5.4.39
oTj8xq
Output for 5.4.38
frk4sU
Output for 5.4.37
nkyPec
Output for 5.4.36
aDGYv4
Output for 5.4.35
VgZCtN
Output for 5.4.34
oPkheY
Output for 5.4.32
8phReJ
Output for 5.4.31
idmZsf
Output for 5.4.30
F6yJvg
Output for 5.4.29
nTqbcV
Output for 5.4.28
vfiNlY
Output for 5.4.27
0W7qxC
Output for 5.4.26
682kgu
Output for 5.4.25
x9ufyi
Output for 5.4.24
OUpIWD
Output for 5.4.23
52DsjN
Output for 5.4.22
cCedkl
Output for 5.4.21
tbLsEA
Output for 5.4.20
ph2og1
Output for 5.4.19
Qu7oWF
Output for 5.4.18
Wf08dN
Output for 5.4.17
g147dT
Output for 5.4.16
kD4osB
Output for 5.4.15
wzKYkW
Output for 5.4.14
0py5xX
Output for 5.4.13
tyXPeR
Output for 5.4.12
tiyDeO
Output for 5.4.11
dLR74m
Output for 5.4.10
RAKa2X
Output for 5.4.9
9ixhKI
Output for 5.4.8
vZMyX5
Output for 5.4.7
QVoe9B
Output for 5.4.6
WP9GAD
Output for 5.4.5
eRMqj4
Output for 5.4.4
sHj3Er
Output for 5.4.3
iBXdzb
Output for 5.4.2
X7sEbw
Output for 5.4.1
6AEIK2
Output for 5.4.0
4XgaTN
Output for 5.3.29
YCw8xu
Output for 5.3.28
JhTatK
Output for 5.3.27
rlnAiN
Output for 5.3.26
X4odkP
Output for 5.3.25
mEywpd
Output for 5.3.24
PfcyWi
Output for 5.3.23
WNFDCi
Output for 5.3.22
rI4DFA
Output for 5.3.21
C69MeD
Output for 5.3.20
5eghVO
Output for 5.3.19
PA5mr3
Output for 5.3.18
DHywkA
Output for 5.3.17
8mzbiT
Output for 5.3.16
wasd6i
Output for 5.3.15
XyfHgd
Output for 5.3.14
CYnA5s
Output for 5.3.13
1UgDi6
Output for 5.3.12
Tg98RQ
Output for 5.3.11
51PcJU
Output for 5.3.10
RgNPJM
Output for 5.3.9
LnSyk8
Output for 5.3.8
0XERW2
Output for 5.3.7
nyWlZk
Output for 5.3.6
lBzIqA
Output for 5.3.5
NhOD1k
Output for 5.3.4
oAS7HF
Output for 5.3.3
uGvFWt
Output for 5.3.2
deHsGO
Output for 5.3.1
UGCgmk
Output for 5.3.0
Gyz6MN
Output for 5.2.17
XMQOjI
Output for 5.2.16
Ch2XVe
Output for 5.2.15
S9gU6E
Output for 5.2.14
5lPhfS
Output for 5.2.13
fia1M0
Output for 5.2.12
1SryXk
Output for 5.2.11
8WVmi2
Output for 5.2.10
C5G1FA
Output for 5.2.9
ALZigP
Output for 5.2.8
qLECVF
Output for 5.2.7
65klKg
Output for 5.2.6
uPezhT
Output for 5.2.5
cOFtWm
Output for 5.2.4
idYay5
Output for 5.2.3
bPkmTD
Output for 5.2.2
bK4SMk
Output for 5.2.1
5UOAk0
Output for 5.2.0
pmfMa0
Output for 5.1.6
dbguoB
Output for 5.1.5
MNDQnX
Output for 5.1.4
LS7X0y
Output for 5.1.3
1ByOZG
Output for 5.1.2
J7pmDV
Output for 5.1.1
nSrkTF
Output for 5.1.0
FRwcuM
Output for 5.0.5
9aW1oO
Output for 5.0.4
GV93nN
Output for 5.0.3
ugr9iK
Output for 5.0.2
NGFXiH
Output for 5.0.1
2hzR3J
Output for 5.0.0
a92eMD
Output for 4.4.9
65aFg4
Output for 4.4.8
4POvMp
Output for 4.4.7
i01XoI
Output for 4.4.6
TagXvi
Output for 4.4.5
0paA5f
Output for 4.4.4
rPWRAB
Output for 4.4.3
0GwBCV
Output for 4.4.2
6BjaWU
Output for 4.4.1
e54k91
Output for 4.4.0
ZD6VGQ
Output for 4.3.11
sU7EB9
Output for 4.3.10
v63Hk2
Output for 4.3.9
5ituc6
Output for 4.3.8
ukFRfS
Output for 4.3.7
XDtJpv
Output for 4.3.6
fCU37u
Output for 4.3.5
WJ6vRB
Output for 4.3.3 - 4.3.4
IvJOtk
Output for 4.3.2
pr5ci1
Output for 4.3.1
Ctwes7
Output for 4.3.0
SRUF8m