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); ?>
Output for 7.1.0
r1bFQtu
Output for 7.0.14
KwSLI6i
Output for 7.0.6
Feb9Spc
Output for 7.0.5
2lAzjvI
Output for 7.0.4
0FtnsVZ
Output for 7.0.3
74b6OSN
Output for 7.0.2
YZ9sM5O
Output for 7.0.1
bMCNjYe
Output for 7.0.0
AQYzBPg
Output for hhvm-3.12.0
9ABzCi6
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
Az7vSCJ
Output for 5.6.21
sXCuKiA
Output for 5.6.20
qojkLPO
Output for 5.6.19
Vh8zK56
Output for 5.6.18
tfwVxE0
Output for 5.6.17
QBmLXOZ
Output for 5.6.16
BJ8IuNx
Output for 5.6.15
6MwJqUS
Output for 5.6.14
Z0R8mkV
Output for 5.6.13
wPUoHcF
Output for 5.6.12
KGtFuZS
Output for 5.6.11
6unJjIo
Output for 5.6.10
J5enj26
Output for 5.6.9
jTpmegJ
Output for 5.6.8
MmHcpzL
Output for 5.6.7
9DrQHG1
Output for 5.5.35
wcAQ7Pq
Output for 5.5.34
xP3DYb5
Output for 5.5.33
XzatoMB
Output for 5.5.32
UX8CxmK
Output for 5.5.31
F25bXK3
Output for 5.5.30
B5GKX0b
Output for 5.5.29
bp8ngUH
Output for 5.5.28
exvPbN9
Output for 5.5.27
pUlMgAv
Output for 5.5.26
6U7v8bA
Output for 5.5.25
hKVH7Cb
Output for 5.5.24
IZ1ryD3
Output for 5.4.45
DQNG7Mp
Output for 5.4.44
ot8J2F0
Output for 5.4.43
IyqU6rQ
Output for 5.4.42
Di7o3Nw
Output for 5.4.41
c7a6CVK
Output for 5.4.40
BMTSLJN
Output for 5.4.39
sC5fKyx
Output for 5.4.38
tbqUEKw
Output for 5.4.37
7nN6Upx
Output for 5.4.36
HRq8JlA
Output for 5.4.35
38W5oC7
Output for 5.4.34
bPmOA8Z
Output for 5.4.32
xWq9Ouy
Output for 5.4.31
hZsg1UD
Output for 5.4.30
jIvhOCw
Output for 5.4.29
8UKLyS4
Output for 5.4.28
jROuYwJ
Output for 5.4.27
H2ZY85L
Output for 5.4.26
ZOKSH3y
Output for 5.4.25
TIQNOPa
Output for 5.4.24
IHujVSK
Output for 5.4.23
pgL0YoR
Output for 5.4.22
Ju321sy
Output for 5.4.21
htDVSlI
Output for 5.4.20
MFXAc2r
Output for 5.4.19
afwFBiG
Output for 5.4.18
UPg6mYw
Output for 5.4.17
P5baUCK
Output for 5.4.16
X5gelLq
Output for 5.4.15
pqgOhnc
Output for 5.4.14
bIw8ZFX
Output for 5.4.13
TpKODht
Output for 5.4.12
NVtiM1o
Output for 5.4.11
EZeaH7f
Output for 5.4.10
9oXJgPq
Output for 5.4.9
9GulfKL
Output for 5.4.8
MTm6IVF
Output for 5.4.7
iIAcemP
Output for 5.4.6
J12LIUh
Output for 5.4.5
7KTfBRi
Output for 5.4.4
4Pe0Lcf
Output for 5.4.3
f6IM7g4
Output for 5.4.2
VWql8Mi
Output for 5.4.1
FODKn0p
Output for 5.4.0
D59xUHm
Output for 5.3.29
in5e9Vt
Output for 5.3.28
DjbmcB2
Output for 5.3.27
U0b41E8
Output for 5.3.26
1A6ks5h
Output for 5.3.25
xVf6Y3v
Output for 5.3.24
4y09tqM
Output for 5.3.23
IT7Qj4h
Output for 5.3.22
BfXHr8D
Output for 5.3.21
QmnfcBq
Output for 5.3.20
ysomvMx
Output for 5.3.19
Ynq35zA
Output for 5.3.18
n9F8ko2
Output for 5.3.17
bO8r1W3
Output for 5.3.16
iQBUs2w
Output for 5.3.15
tnhDbW5
Output for 5.3.14
Cx4pliw
Output for 5.3.13
vN2yWiA
Output for 5.3.12
awP9tks
Output for 5.3.11
eH2MVv7
Output for 5.3.10
0HFEZoA
Output for 5.3.9
sw7YlWJ
Output for 5.3.8
38svpF1
Output for 5.3.7
SjpA7KJ
Output for 5.3.6
rxWYsAC
Output for 5.3.5
quR5Fte
Output for 5.3.4
ykzw8Gp
Output for 5.3.3
O08YIJ9
Output for 5.3.2
3IXgwea
Output for 5.3.1
UXu1e5G
Output for 5.3.0
4CHR50J
Output for 5.2.17
cG2OWBw
Output for 5.2.16
iqToYps
Output for 5.2.15
3sxZOkY
Output for 5.2.14
A6N1Ees
Output for 5.2.13
auf7bJg
Output for 5.2.12
HMRywZ0
Output for 5.2.11
IshpWNG
Output for 5.2.10
DYEMOtK
Output for 5.2.9
rcuZPnA
Output for 5.2.8
uebx39m
Output for 5.2.7
vPgsjot
Output for 5.2.6
cMm5p0R
Output for 5.2.5
pH7hiSI
Output for 5.2.4
5zm8y0Q
Output for 5.2.3
HVYGq89
Output for 5.2.2
8xQZGf6
Output for 5.2.1
TpWcAeG
Output for 5.2.0
Am8GEFv
Output for 5.1.6
95381nR
Output for 5.1.5
E2W0h3u
Output for 5.1.4
STopvEx
Output for 5.1.3
vYU9VPh
Output for 5.1.2
QaAuYvp
Output for 5.1.1
JbU37pM
Output for 5.1.0
ts2IyhO
Output for 5.0.5
lTFPsA7
Output for 5.0.4
XFtKrcq
Output for 5.0.3
F5gKAWx
Output for 5.0.2
KpjQ6DZ
Output for 5.0.1
jq7QxEg
Output for 5.0.0
ICt92Om
Output for 4.4.9
ab1xCPk
Output for 4.4.8
GuBTQJI
Output for 4.4.7
WyH3Unc
Output for 4.4.6
j5b7QkP
Output for 4.4.5
I1O5aEN
Output for 4.4.4
IhlCf81
Output for 4.4.3
Ap4zbqj
Output for 4.4.2
BSTopVn
Output for 4.4.1
6OfMY3I
Output for 4.4.0
7EbIQkz
Output for 4.3.11
uCZt4MR
Output for 4.3.10
mwutEpl
Output for 4.3.9
zZFbfU9
Output for 4.3.8
fMk5QTY
Output for 4.3.7
8B42tXZ
Output for 4.3.6
BAHweTO
Output for 4.3.5
N2Dhrbv
Output for 4.3.3 - 4.3.4
tXRQe3M
Output for 4.3.2
I6kD0eg
Output for 4.3.1
rv03wSO
Output for 4.3.0
cnFYCzy