3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function rand_string($nb_char) { $ascii = array_merge(range(65,90), range(97,122),range(48,57)); $string = ''; for($i=0;$i<intval($nb_char);$i++) { $string.= chr($ascii[(mt_rand(0,count($ascii) - 1))]); } return $string;}echo rand_string(8);
Output for 7.1.0
I67HBA3J
Output for 7.0.14
6scbbu6n
Output for 7.0.11
MFAM2QDy
Output for 7.0.10
ctWqfJkg
Output for 7.0.9
yKWOIY6d
Output for 7.0.8
VJdjCafn
Output for 7.0.7
JmDTa2a5
Output for 7.0.6
n6fAsWtH
Output for 7.0.5
CkX8AtxP
Output for 7.0.4
OdEkxaKl
Output for 7.0.3
YolIBheA
Output for 7.0.2
cCXY8VLO
Output for 7.0.1
fLb6leoc
Output for 7.0.0
59Bc2L2x
Output for 5.6.28
xW8Uavj4
Output for 5.6.26
2u1cGQMn
Output for 5.6.25
ZPI0KlMe
Output for 5.6.24
1OGK9NUB
Output for 5.6.23
7baUz36T
Output for 5.6.22
PXRcRKnQ
Output for 5.6.21
6LWdto0g
Output for 5.6.20
D6paQaq0
Output for 5.6.19
mEJS8KYD
Output for 5.6.18
83AveBNv
Output for 5.6.17
BgWcQQUH
Output for 5.6.16
JApTOuKF
Output for 5.6.15
LjiYhneQ
Output for 5.6.14
zI8pQtdH
Output for 5.6.13
1RFvstaB
Output for 5.6.12
ZQDEjIFv
Output for 5.6.11
dbEJL4W7
Output for 5.6.10
ETLzFvPl
Output for 5.6.9
n3EcNU8T
Output for 5.6.8
KYTA49zH
Output for 5.6.7
H7IG44et
Output for 5.6.6
lQfUaR4f
Output for 5.6.5
0okFTOB1
Output for 5.6.4
Jjmlq4N3
Output for 5.6.3
QjLAe4lM
Output for 5.6.2
0sOfyAzY
Output for 5.6.1
y06oQVaZ
Output for 5.6.0
y4cRwfk2
Output for 5.5.38
VMyWGOlJ
Output for 5.5.37
DUGvQW9w
Output for 5.5.36
MoPQ6hkX
Output for 5.5.35
C8La9vKL
Output for 5.5.34
dbkLLq2j
Output for 5.5.33
qZ2ZmMzu
Output for 5.5.32
yx6cMYhV
Output for 5.5.31
Gn3ljTay
Output for 5.5.30
A43lGPdT
Output for 5.5.29
ij3zSqoM
Output for 5.5.28
JlJuFQPN
Output for 5.5.27
fBsJgl8r
Output for 5.5.26
IyyfGESy
Output for 5.5.25
FnQkSwLl
Output for 5.5.24
nUt8JlcU
Output for 5.5.23
xznb9Yii
Output for 5.5.22
f7Gj7W78
Output for 5.5.21
7Yc8NyP6
Output for 5.5.20
du3RJh63
Output for 5.5.19
b9acKBay
Output for 5.5.18
Rtim8pRL
Output for 5.5.16
0UqlGDML
Output for 5.5.15
PKLtbXi6
Output for 5.5.14
ZlfPZLKn
Output for 5.5.13
KVwvhOXc
Output for 5.5.12
JyO1IvnJ
Output for 5.5.11
GASeWiW4
Output for 5.5.10
n4jap9FO
Output for 5.5.9
sVbZnKe0
Output for 5.5.8
2D0qXUDW
Output for 5.5.7
Gb2Bfn2l
Output for 5.5.6
12qKdYK5
Output for 5.5.5
DCtJO9T1
Output for 5.5.4
55Tkibqd
Output for 5.5.3
hud4Dh6a
Output for 5.5.2
v0fWzVai
Output for 5.5.1
rjRVolpc
Output for 5.5.0
vQdBRonU
Output for 5.4.45
e9GqJNui
Output for 5.4.44
xWgLQmCA
Output for 5.4.43
CR2xS7ou
Output for 5.4.42
FZ7lczYM
Output for 5.4.41
Oju1oHAV
Output for 5.4.40
vClBoQpE
Output for 5.4.39
r1UNrpnt
Output for 5.4.38
QClIABZk
Output for 5.4.37
Exx9zRFJ
Output for 5.4.36
tKJlCh2Y
Output for 5.4.35
aOht8Hkh
Output for 5.4.34
VHVgRkDA
Output for 5.4.32
4h5h293A
Output for 5.4.31
B9jM3LPX
Output for 5.4.30
PVUz9jig
Output for 5.4.29
osoP7qYc
Output for 5.4.28
TIXNsIDx
Output for 5.4.27
a3VEmBE4
Output for 5.4.26
lXSuCs5k
Output for 5.4.25
479Y94B7
Output for 5.4.24
CGzL70ug
Output for 5.4.23
GHrbil7x
Output for 5.4.22
WmRe9uJF
Output for 5.4.21
QD5ATtZI
Output for 5.4.20
u8gaBSMD
Output for 5.4.19
yUPwv0p1
Output for 5.4.18
rXMPCvv5
Output for 5.4.17
KeyUERt3
Output for 5.4.16
iEsGI4jI
Output for 5.4.15
quok0fPQ
Output for 5.4.14
jMTZrqd7
Output for 5.4.13
fN5Zdz6P
Output for 5.4.12
ztgdsFEd
Output for 5.4.11
cLi9meML
Output for 5.4.10
dq8Dzk8g
Output for 5.4.9
QZjnwV0V
Output for 5.4.8
ZDNCCaqO
Output for 5.4.7
KGlcUZ6Z
Output for 5.4.6
UHImJ2dO
Output for 5.4.5
lalS4eaB
Output for 5.4.4
Bgwwf4t3
Output for 5.4.3
HtK4m6eZ
Output for 5.4.2
vwWKuCEP
Output for 5.4.1
yO54mu1v
Output for 5.4.0
csqlKjcY
Output for 5.3.29
ln23oOHc
Output for 5.3.28
dm4HZf2R
Output for 5.3.27
h2Sgvczo
Output for 5.3.26
iFCZBwx9
Output for 5.3.25
sQOKN8zc
Output for 5.3.24
Y4lXf43b
Output for 5.3.23
dijL7N6B
Output for 5.3.22
kWUAj7Gh
Output for 5.3.21
j0k8miKL
Output for 5.3.20
dJ7w0ppj
Output for 5.3.19
zUn7Khnj
Output for 5.3.18
sFcGUthv
Output for 5.3.17
CfYbBsDF
Output for 5.3.16
oipYEfZg
Output for 5.3.15
0Rd0QGlW
Output for 5.3.14
UmYEjPqI
Output for 5.3.13
AYn0oLX7
Output for 5.3.12
DYgLBcMK
Output for 5.3.11
YDra34IX
Output for 5.3.10
FQ3hbnXJ
Output for 5.3.9
GjUy5yk9
Output for 5.3.8
g8jc4te4
Output for 5.3.7
TzQheL3W
Output for 5.3.6
l1tpWW22
Output for 5.3.5
bckDPlBK
Output for 5.3.4
djv6ICI5
Output for 5.3.3
kxBB5rap
Output for 5.3.2
7hVFXjbf
Output for 5.3.1
Ss94qVYI
Output for 5.3.0
Z6qeIwZA
Output for 5.2.17
dA53phfW
Output for 5.2.16
C7DH8gan
Output for 5.2.15
ARXtczSU
Output for 5.2.14
Rr9OyXAz
Output for 5.2.13
aU4uTG8C
Output for 5.2.12
Di7SWgrw
Output for 5.2.11
LFEaBgzu
Output for 5.2.10
SFRmsKCg
Output for 5.2.9
7EphDgNP
Output for 5.2.8
8RvGxMYk
Output for 5.2.7
3XksrqcA
Output for 5.2.6
LIBTXurl
Output for 5.2.5
gEFrJIBc
Output for 5.2.4
pXoHUoWn
Output for 5.2.3
H61QdIsg
Output for 5.2.2
xSBp8QbC
Output for 5.2.1
SRbNbdSE
Output for 5.2.0
Zr9a3H13
Output for 5.1.6
XfhMouto
Output for 5.1.5
p7IMRMqY
Output for 5.1.4
ahwxImcR
Output for 5.1.3
LVMoy9Ue
Output for 5.1.2
Q50I4CqU
Output for 5.1.1
sOZVB7pP
Output for 5.1.0
Iqs3bOI6
Output for 5.0.5
uFsPBFl5
Output for 5.0.4
71rZYtiE
Output for 5.0.3
kw7LsHLI
Output for 5.0.2
1OhaNFMF
Output for 5.0.1
dBWxK97o
Output for 5.0.0
n3GLJJfd
Output for 4.4.9
CO1lqyD7
Output for 4.4.8
FCayGHHV
Output for 4.4.7
JL0BcO5H
Output for 4.4.6
TlH5r8zg
Output for 4.4.5
fJuHgGbL
Output for 4.4.4
T7WVuZHP
Output for 4.4.3
GFikcTGa
Output for 4.4.2
qicpCfuf
Output for 4.4.1
jdS2nVmH
Output for 4.4.0
if7QvBlo
Output for 4.3.11
ywR6JgGt
Output for 4.3.10
pXgnzImh
Output for 4.3.9
ETCk3aO2
Output for 4.3.8
keNXqBoL
Output for 4.3.7
F2VztQZp
Output for 4.3.6
FV3RAdqX
Output for 4.3.5
VuRs022F
Output for 4.3.4
tHS0agiL
Output for 4.3.3
oVHGlZKe
Output for 4.3.2
LewjxT8R
Output for 4.3.1
6bzKSKIu
Output for 4.3.0
RzFvQiyw