3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $length = 8; $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'; { $chars_length = (strlen($chars) - 1); $string = $chars{rand(0, $chars_length)}; for ($i = 1; $i < $length; $i = strlen($string)) { $r = $chars{rand(0, $chars_length)}; if ($r != $string{$i - 1}) { $string .= $r; } } echo $string; }
Output for 7.1.0
WQBoDl4t
Output for 7.0.14
WoeUuCcg
Output for 7.0.6
qdputdOI
Output for 7.0.5
VFsLGJ0o
Output for 7.0.4
l5VFNQqa
Output for 7.0.3
RExpAimI
Output for 7.0.2
oFLcwKjr
Output for 7.0.1
W3ZYktym
Output for 7.0.0
SLTh5Q4G
Output for 5.6.28
itu4wZ7z
Output for 5.6.21
PXqVlP1V
Output for 5.6.20
VkmfXC4c
Output for 5.6.19
xWDf3dh1
Output for 5.6.18
OtotNXwq
Output for 5.6.17
suZc3emh
Output for 5.6.16
Pav0jqZw
Output for 5.6.15
QU5TqhpC
Output for 5.6.14
CSxbubsK
Output for 5.6.13
kKqZei4n
Output for 5.6.12
yTitNQJQ
Output for 5.6.11
w1AcfDKU
Output for 5.6.10
gDgG0CLI
Output for 5.6.9
nvdphjom
Output for 5.6.8
n2IsiSAE
Output for 5.6.7
ypwM5lgx
Output for 5.5.35
7kh5dw7s
Output for 5.5.34
rhrSA3tR
Output for 5.5.33
RjvbULXb
Output for 5.5.32
iWMK5VZl
Output for 5.5.31
nJQkbGVM
Output for 5.5.30
l2z7TNEo
Output for 5.5.29
SdEe3xYu
Output for 5.5.28
EeVI7ytW
Output for 5.5.27
CXgeY2Fj
Output for 5.5.26
Y5u05rBe
Output for 5.5.25
pZRaiNQU
Output for 5.5.24
k4PAnJ53
Output for 5.4.45
nwT8NpDA
Output for 5.4.44
2vEikh8d
Output for 5.4.43
PReKgnJm
Output for 5.4.42
cM42CZdG
Output for 5.4.41
2CSo25Yb
Output for 5.4.40
JRFrQEWR
Output for 5.4.39
hdqKJgbO
Output for 5.4.38
1XVNgHld
Output for 5.4.37
FqKmxOZV
Output for 5.4.36
im1VsvOx
Output for 5.4.35
z9wDUaqP
Output for 5.4.34
qO7ZYSsK
Output for 5.4.32
UPd6wnzK
Output for 5.4.31
3dVJ4fm0
Output for 5.4.30
lDQFz08U
Output for 5.4.29
J4Xosybu
Output for 5.4.28
IdPuD2Xh
Output for 5.4.27
Ga3yVWA0
Output for 5.4.26
JQ2m70cL
Output for 5.4.25
XrIrGhxe
Output for 5.4.24
DdRLO0OP
Output for 5.4.23
PQcbsPeY
Output for 5.4.22
ivrsZJP4
Output for 5.4.21
mthmV4C7
Output for 5.4.20
W8Q6LlBk
Output for 5.4.19
G787jtr5
Output for 5.4.18
ZXwYcWrI
Output for 5.4.17
J3Gmq41L
Output for 5.4.16
pb6kpo6G
Output for 5.4.15
KHKyVWVT
Output for 5.4.14
zNiFRZSL
Output for 5.4.13
pVJ9r0Mg
Output for 5.4.12
yXuStUYF
Output for 5.4.11
S19YpmbZ
Output for 5.4.10
qn5XQJiV
Output for 5.4.9
s6qGzQYq
Output for 5.4.8
asMG10yB
Output for 5.4.7
PURIu9YF
Output for 5.4.6
KGeCYnuy
Output for 5.4.5
5QqAy5K2
Output for 5.4.4
jrD3utVK
Output for 5.4.3
lDzsaTBq
Output for 5.4.2
FIh8qyqh
Output for 5.4.1
bhWMlLgB
Output for 5.4.0
BuL4ZrDJ
Output for 5.3.29
sxSnH0pG
Output for 5.3.28
XS18xRjz
Output for 5.3.27
QLa1X6BT
Output for 5.3.26
BjD7vdUE
Output for 5.3.25
EbNBTWY8
Output for 5.3.24
kpWoXw2u
Output for 5.3.23
OvM1pPgS
Output for 5.3.22
JscIEAo1
Output for 5.3.21
w3XYmx4r
Output for 5.3.20
SU8aoag1
Output for 5.3.19
pA27Mupr
Output for 5.3.18
gLvE6p1L
Output for 5.3.17
lFBIjObv
Output for 5.3.16
klQ1q9Bp
Output for 5.3.15
y5gtpksr
Output for 5.3.14
ArcJpRWS
Output for 5.3.13
mgZSrnT1
Output for 5.3.12
QPED19VK
Output for 5.3.11
VFgimhl5
Output for 5.3.10
Q3LNUpvB
Output for 5.3.9
c2hyxuWM
Output for 5.3.8
DgytwYEP
Output for 5.3.7
JTdlbYgD
Output for 5.3.6
1XeDnOVh
Output for 5.3.5
P5EqIYUr
Output for 5.3.4
leqvRU3r
Output for 5.3.3
pnwPtauE
Output for 5.3.2
SewOXvRT
Output for 5.3.1
IqhvJHjX
Output for 5.3.0
TB27KMOR
Output for 5.2.17
nruDaJA0
Output for 5.2.16
LxdvTYds
Output for 5.2.15
KwpbouaF
Output for 5.2.14
dJ71iMHD
Output for 5.2.13
i98iFJNf
Output for 5.2.12
ifHP2NAt
Output for 5.2.11
tQcsc53Z
Output for 5.2.10
8btobf3n
Output for 5.2.9
egns1M5I
Output for 5.2.8
hibIUC7h
Output for 5.2.7
VxCj3p54
Output for 5.2.6
1JNbuMZx
Output for 5.2.5
RaLB7F0J
Output for 5.2.4
wHwXakOz
Output for 5.2.3
jfwsYB0E
Output for 5.2.2
il1FbeHK
Output for 5.2.1
BkR2OcaL
Output for 5.2.0
g6njp03A
Output for 5.1.6
O5osRH2J
Output for 5.1.5
bcdr6D4O
Output for 5.1.4
fnP7IhYj
Output for 5.1.3
o08icBj9
Output for 5.1.2
2ncOK0Xv
Output for 5.1.1
luxpWCVu
Output for 5.1.0
70RgkfPM
Output for 5.0.5
3tsch7w3
Output for 5.0.4
ZpTu4sAv
Output for 5.0.3
eGHN8dEX
Output for 5.0.2
78eOCpXq
Output for 5.0.1
kRqRvoul
Output for 5.0.0
WclkAD9K
Output for 4.4.9
eJClziSm
Output for 4.4.8
W3ZUFk74
Output for 4.4.7
jRnaHogd
Output for 4.4.6
Xy8Z8fDO
Output for 4.4.5
7tXJpGhf
Output for 4.4.4
tu1icHVF
Output for 4.4.3
akC5pOcd
Output for 4.4.2
CDlr5beu
Output for 4.4.1
Q43TbIMx
Output for 4.4.0
qVgYN3fc
Output for 4.3.11
GwZF5S95
Output for 4.3.10
frmykTo8
Output for 4.3.9
CRSz7l2s
Output for 4.3.8
0g8WnldC
Output for 4.3.7
eo2J9H5o
Output for 4.3.6
2xfbaCRj
Output for 4.3.5
He8RJlem
Output for 4.3.4
zZA0jnNI
Output for 4.3.3
9COlwXAV
Output for 4.3.2
WnMLxX7C
Output for 4.3.1
9cUx6qEl
Output for 4.3.0
O5nrhcXe