3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function password_generate($chars) { $data = '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcefghijklmnopqrstuvwxyz'; return substr(str_shuffle($data), 0, $chars); } echo password_generate(7); ?>
based on 4WcJr
Output for 7.1.0
Oelz7LH
Output for 7.0.14
hi5AYvk
Output for 7.0.10
Bo2PMGV
Output for 7.0.9
tEJUGCS
Output for 7.0.8
SQ82stb
Output for 7.0.7
nCcRWHX
Output for 7.0.6
bpYq1Ek
Output for 7.0.5
YFjfrWi
Output for 7.0.4
9QKO8qa
Output for 7.0.3
z5FClbX
Output for 7.0.2
vg2bXTa
Output for 7.0.1
cZsEQNX
Output for 7.0.0
bRIUyBl
Output for 5.6.28
SWZqlQx
Output for 5.6.25
cfA4OzD
Output for 5.6.24
KYOxaFA
Output for 5.6.23
8Fu06Mp
Output for 5.6.22
MQiCcrR
Output for 5.6.21
kPs6p4j
Output for 5.6.20
VupgEZc
Output for 5.6.19
hXy6fBs
Output for 5.6.18
QrRmF2U
Output for 5.6.17
zMGEfXe
Output for 5.6.16
cVPvDze
Output for 5.6.15
rkA5Phu
Output for 5.6.14
mvFDKTM
Output for 5.6.13
Z64hMjW
Output for 5.6.12
aOrV15y
Output for 5.6.11
0FzV7Lq
Output for 5.6.10
imZrqRt
Output for 5.6.9
2eCcDjn
Output for 5.6.8
i8YMP04
Output for 5.6.7
EaJSFIm
Output for 5.6.6
mXlSq9T
Output for 5.6.5
ZpAfMTX
Output for 5.6.4
Vq93GT1
Output for 5.6.3
cBfNmR3
Output for 5.6.2
teGCmq9
Output for 5.6.1
Zr4QYTG
Output for 5.6.0
xJCNS98
Output for 5.5.38
rhnV0y5
Output for 5.5.37
tlUqOhR
Output for 5.5.36
5IvPtf3
Output for 5.5.35
hapxCBU
Output for 5.5.34
RsWwYLA
Output for 5.5.33
q0FeaM1
Output for 5.5.32
WePjSQa
Output for 5.5.31
TZvBKAt
Output for 5.5.30
RSjUQfz
Output for 5.5.29
f5iezDS
Output for 5.5.28
yVn09p3
Output for 5.5.27
OsnToEt
Output for 5.5.26
UL4inWe
Output for 5.5.25
8ohR13U
Output for 5.5.24
7ETJHZc
Output for 5.5.23
LlpsVub
Output for 5.5.22
2CUqo1A
Output for 5.5.21
nz0utIA
Output for 5.5.20
UXjQpRz
Output for 5.5.19
935fIOE
Output for 5.5.18
3tavkOr
Output for 5.5.16
7it2E1e
Output for 5.5.15
m9ivTbK
Output for 5.5.14
c4MISK8
Output for 5.5.13
RQvU4uE
Output for 5.5.12
u9XYVER
Output for 5.5.11
RI7pksa
Output for 5.5.10
PFlAtrB
Output for 5.5.9
8lM3P4Z
Output for 5.5.8
56zQ1L7
Output for 5.5.7
ao10wnI
Output for 5.5.6
ybYNO2l
Output for 5.5.5
MfIL7x8
Output for 5.5.4
h5V3Bjb
Output for 5.5.3
zoexZbE
Output for 5.5.2
nMzWO9F
Output for 5.5.1
T8R9aIj
Output for 5.5.0
bOsXJil
Output for 5.4.45
jvo8iOy
Output for 5.4.44
BIL1DJS
Output for 5.4.43
bswL61U
Output for 5.4.42
piEHTGf
Output for 5.4.41
gcyYlpn
Output for 5.4.40
RAiIN8W
Output for 5.4.39
M4t2uUO
Output for 5.4.38
wVjhQcE
Output for 5.4.37
sYbPJlX
Output for 5.4.36
tYrzxTi
Output for 5.4.35
m4zKpG5
Output for 5.4.34
O7vg2Tj
Output for 5.4.32
2EBCH89
Output for 5.4.31
VRUM5A2
Output for 5.4.30
XUAu1ky
Output for 5.4.29
i6ukpOj
Output for 5.4.28
FYOxBVQ
Output for 5.4.27
vh0fnYs
Output for 5.4.26
2XocwmG
Output for 5.4.25
Vpjec8z
Output for 5.4.24
MIiJCYK
Output for 5.4.23
cF7nZWJ
Output for 5.4.22
Ur8TIFD
Output for 5.4.21
grpwjTS
Output for 5.4.20
5qG3Jay
Output for 5.4.19
a6mKFsr
Output for 5.4.18
0pNo9Os
Output for 5.4.17
JIKTZPr
Output for 5.4.16
nMcvDm4
Output for 5.4.15
gaRHZ3k
Output for 5.4.14
FKEtxkf
Output for 5.4.13
huDBKz2
Output for 5.4.12
UzEROJl
Output for 5.4.11
3Ol6NrP
Output for 5.4.10
kP5HELC
Output for 5.4.9
2lQ5vE8
Output for 5.4.8
NBArLfo
Output for 5.4.7
wHZGbnX
Output for 5.4.6
b4m9JRZ
Output for 5.4.5
2mYqbiR
Output for 5.4.4
0tPcSV5
Output for 5.4.3
wkY2niA
Output for 5.4.2
g7M60F3
Output for 5.4.1
c2K4e3a
Output for 5.4.0
g0wRF1Q
Output for 5.3.29
GaWenwJ
Output for 5.3.28
eMJgRq1
Output for 5.3.27
PyiN37Z
Output for 5.3.26
SLh2E5p
Output for 5.3.25
t8G4k3j
Output for 5.3.24
VQnFUaD
Output for 5.3.23
9Vhl5PB
Output for 5.3.22
YyszpDW
Output for 5.3.21
kD48M1a
Output for 5.3.20
Jx2cPqW
Output for 5.3.19
vT2DkHj
Output for 5.3.18
9lnASt2
Output for 5.3.17
iIxfVmU
Output for 5.3.16
ioma6Ub
Output for 5.3.15
NfU5Gmw
Output for 5.3.14
gBKCPrJ
Output for 5.3.13
cvRTCgo
Output for 5.3.12
Q3EgqBl
Output for 5.3.11
jXYmaG4
Output for 5.3.10
FjqrYU8
Output for 5.3.9
Xx1hH8K
Output for 5.3.8
uoO97WQ
Output for 5.3.7
H6otu3M
Output for 5.3.6
vjHeKE7
Output for 5.3.5
p9oB8QL
Output for 5.3.4
hZyrlBG
Output for 5.3.3
awKPqUY
Output for 5.3.2
6XsZtYv
Output for 5.3.1
4tBujYz
Output for 5.3.0
Tx1LQGB
Output for 5.2.17
toYV4Jf
Output for 5.2.16
uFeKnyl
Output for 5.2.15
WKhQYsA
Output for 5.2.14
Uc0F85D
Output for 5.2.13
2VUcSk5
Output for 5.2.12
3jSTy52
Output for 5.2.11
MD1H3aV
Output for 5.2.10
1Hy86Wx
Output for 5.2.9
8052mDS
Output for 5.2.8
XCKA8HV
Output for 5.2.7
uPhMWXn
Output for 5.2.6
sZuERoF
Output for 5.2.5
LExB65Y
Output for 5.2.4
z3CDMY5
Output for 5.2.3
rDxnj5t
Output for 5.2.2
ar6LYZe
Output for 5.2.1
DvyQEBW
Output for 5.2.0
iSlmYoq
Output for 5.1.6
KeVnXEv
Output for 5.1.5
tHxsg0o
Output for 5.1.4
sIG9P4f
Output for 5.1.3
QF4rA6v
Output for 5.1.2
mVFwsot
Output for 5.1.1
ApzorMm
Output for 5.1.0
cNYeq3A
Output for 5.0.5
XzLq2nG
Output for 5.0.4
3bDX1j5
Output for 5.0.3
PY7sGWh
Output for 5.0.2
i4UInxb
Output for 5.0.1
PujiCRF
Output for 5.0.0
80Qfjc9
Output for 4.4.9
ZFCPnX0
Output for 4.4.8
L4w1CzH
Output for 4.4.7
faiPlD6
Output for 4.4.6
fn96vYF
Output for 4.4.5
6SuaX2O
Output for 4.4.4
2gaUF9i
Output for 4.4.3
YacpX6m
Output for 4.4.2
e2FParB
Output for 4.4.1
fhjH3Un
Output for 4.4.0
i2tem0h
Output for 4.3.11
fvQ714B
Output for 4.3.10
O4uWSPV
Output for 4.3.9
3UW5DZB
Output for 4.3.8
OHZ8LYm
Output for 4.3.7
2XurzY5
Output for 4.3.6
yPfnEqk
Output for 4.3.5
7sEzaW4
Output for 4.3.3 - 4.3.4
tXRQe3M
Output for 4.3.2
cGC1K3j
Output for 4.3.1
lstQEhW
Output for 4.3.0
wEDtcRV