3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $length = 4; $alpa = "abcdefghijklmnopqrstuvwxyz";$alpa.=strtoupper($alpa); $alpa.="1234567890!@#$%^&*()-=_+";$alpa=str_split($alpa); $pass=""; foreach($alpa as $a){ $pass.=str_repeat($a,floor(sqrt(max(rand(0,22)-5,0)))); } $pass = str_split($pass);shuffle($pass);$pass=implode($pass); $r = rand(0,strlen($pass)-$length); echo substr($pass,$r,$length);
Output for 7.1.0
mqUw
Output for 7.0.14
KXD&
Output for 7.0.10
!bw9
Output for 7.0.9
0$Ex
Output for 7.0.8
enV5
Output for 7.0.7
7*a!
Output for 7.0.6
LSL7
Output for 7.0.5
cfrD
Output for 7.0.4
_ft+
Output for 7.0.3
Kidx
Output for 7.0.2
cB(P
Output for 7.0.1
B7!V
Output for 7.0.0
zLnA
Output for hhvm-3.12.0
DP@=
Output for hhvm-3.10.0
)5L@
Output for 5.6.28
2w57
Output for 5.6.25
WleW
Output for 5.6.24
LBli
Output for 5.6.23
b+yt
Output for 5.6.22
FWsr
Output for 5.6.21
RlcA
Output for 5.6.20
R)rK
Output for 5.6.19
@vlD
Output for 5.6.18
0))H
Output for 5.6.17
(+AH
Output for 5.6.16
Qyz$
Output for 5.6.15
=SDt
Output for 5.6.14
$wYX
Output for 5.6.13
rq%i
Output for 5.6.12
ygO5
Output for 5.6.11
gHr$
Output for 5.6.10
S8q4
Output for 5.6.9
SqOE
Output for 5.6.8
(pSO
Output for 5.6.7
otnR
Output for 5.6.6
YNAl
Output for 5.6.5
s*cl
Output for 5.6.4
A4D1
Output for 5.6.3
SgQ4
Output for 5.6.2
oGaZ
Output for 5.6.1
#OOM
Output for 5.6.0
ZAV=
Output for 5.5.38
YBBs
Output for 5.5.37
glf9
Output for 5.5.36
D#gO
Output for 5.5.35
kLk3
Output for 5.5.34
A(gr
Output for 5.5.33
GGkL
Output for 5.5.32
*#^8
Output for 5.5.31
=D9a
Output for 5.5.30
WjBF
Output for 5.5.29
w=JA
Output for 5.5.28
NKr2
Output for 5.5.27
EY*T
Output for 5.5.26
$X)(
Output for 5.5.25
dGS9
Output for 5.5.24
T1@w
Output for 5.5.23
5(v5
Output for 5.5.22
6xHU
Output for 5.5.21
T!(B
Output for 5.5.20
TVAI
Output for 5.5.19
eUFy
Output for 5.5.18
hRbU
Output for 5.5.16
g_3V
Output for 5.5.15
k@yT
Output for 5.5.14
%GfC
Output for 5.5.13
-MuC
Output for 5.5.12
KUK8
Output for 5.5.11
@!_0
Output for 5.5.10
cxh(
Output for 5.5.9
2kd6
Output for 5.5.8
DG4a
Output for 5.5.7
&qsU
Output for 5.5.6
Ecme
Output for 5.5.5
eCPC
Output for 5.5.4
e@t$
Output for 5.5.3
-(Wv
Output for 5.5.2
Euz3
Output for 5.5.1
75Q=
Output for 5.5.0
EscI
Output for 5.4.45
)#^O
Output for 5.4.44
+93r
Output for 5.4.43
vfOT
Output for 5.4.42
w!HY
Output for 5.4.41
=DZI
Output for 5.4.40
=oTj
Output for 5.4.39
zbZA
Output for 5.4.38
Hv6g
Output for 5.4.37
t@Ml
Output for 5.4.36
ZA#P
Output for 5.4.35
J0Or
Output for 5.4.34
LB(2
Output for 5.4.32
rcRQ
Output for 5.4.31
_yGE
Output for 5.4.30
iPFy
Output for 5.4.29
_n#m
Output for 5.4.28
yubV
Output for 5.4.27
ob0e
Output for 5.4.26
y3i5
Output for 5.4.25
P-iu
Output for 5.4.24
3ktO
Output for 5.4.23
LJ_t
Output for 5.4.22
4FkG
Output for 5.4.21
$iG$
Output for 5.4.20
2JD!
Output for 5.4.19
BsrT
Output for 5.4.18
Suk3
Output for 5.4.17
#uvF
Output for 5.4.16
ix-8
Output for 5.4.15
Xl-D
Output for 5.4.14
D#p0
Output for 5.4.13
^6SM
Output for 5.4.12
PeWN
Output for 5.4.11
%_FM
Output for 5.4.10
j=y6
Output for 5.4.9
$9+$
Output for 5.4.8
*o!2
Output for 5.4.7
)d8i
Output for 5.4.6
Ki*_
Output for 5.4.5
seP@
Output for 5.4.4
vVZd
Output for 5.4.3
k_H6
Output for 5.4.2
+Uoy
Output for 5.4.1
KZV(
Output for 5.4.0
G(My
Output for 5.3.29
CwH8
Output for 5.3.28
nTTg
Output for 5.3.27
r3EL
Output for 5.3.26
zMAK
Output for 5.3.25
0D^J
Output for 5.3.24
3GYo
Output for 5.3.23
w!5s
Output for 5.3.22
g*&D
Output for 5.3.21
Ngcf
Output for 5.3.20
vw^x
Output for 5.3.19
)wMT
Output for 5.3.18
Wqfd
Output for 5.3.17
*yYL
Output for 5.3.16
lEDw
Output for 5.3.15
KTog
Output for 5.3.14
P0!&
Output for 5.3.13
8K)p
Output for 5.3.12
2VDH
Output for 5.3.11
XV-r
Output for 5.3.10
c8uK
Output for 5.3.9
@=Sn
Output for 5.3.8
Bvf2
Output for 5.3.7
e2^h
Output for 5.3.6
qn0D
Output for 5.3.5
b1cD
Output for 5.3.4
OfU-
Output for 5.3.3
FlM#
Output for 5.3.2
jkMt
Output for 5.3.1
-S2!
Output for 5.3.0
N3HQ
Output for 5.2.17
BwrZ
Output for 5.2.16
cM=U
Output for 5.2.15
sFlw
Output for 5.2.14
RH-!
Output for 5.2.13
G@uk
Output for 5.2.12
HX%$
Output for 5.2.11
4_GQ
Output for 5.2.10
m=OE
Output for 5.2.9
C0u4
Output for 5.2.8
yVSL
Output for 5.2.7
HW^h
Output for 5.2.6
tmTB
Output for 5.2.5
5)9I
Output for 5.2.4
#6Vu
Output for 5.2.3
fGFU
Output for 5.2.2
9TGd
Output for 5.2.1
qc)e
Output for 5.2.0
R4qI
Output for 5.1.6
6r1R
Output for 5.1.5
5b@#
Output for 5.1.4
(rCx
Output for 5.1.3
h%p-
Output for 5.1.2
038L
Output for 5.1.1
YV4J
Output for 5.1.0
J-Km
Output for 5.0.5
)sNj
Output for 5.0.4
^5S=
Output for 5.0.3
E8us
Output for 5.0.2
1vF&
Output for 5.0.1
zUCs
Output for 5.0.0
(sOT
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: str_split() in /in/gW0rf on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: str_split() in /in/gW0rf on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: str_split() in /in/gW0rf on line 4