3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $length = 12; $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
EGiBysk7NERg
Output for 7.0.14
vQEbV3WKFGM6
Output for 7.0.6
wmPGqiAPFHKG
Output for 7.0.5
EFsSmFU9cfTP
Output for 7.0.4
pVUD8sPyFocg
Output for 7.0.3
Hutal4lX8fWb
Output for 7.0.2
3POiwnPru5uo
Output for 7.0.1
QuoVjazicHpN
Output for 7.0.0
lfatW8wpYLfG
Output for hhvm-3.12.0
alDeQKIHDVup
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
3baCYbnOZdoP
Output for 5.6.21
FPjEJ2YPwLsI
Output for 5.6.20
rM7RNF0ew2Vb
Output for 5.6.19
ub9oh2Up2pNA
Output for 5.6.18
MCxbD4Ksibr3
Output for 5.6.17
NJyGHQA7VSKH
Output for 5.6.16
KqUKEixz8HRW
Output for 5.6.15
2hjqiKB5DzmB
Output for 5.6.14
FDW4KGKPU3TZ
Output for 5.6.13
0fnKBQoS9lfn
Output for 5.6.12
L7PxYPpKOFxO
Output for 5.6.11
A4qPCmqRps6G
Output for 5.6.10
tzMXrFqRPRqu
Output for 5.6.9
duGbwJP4PtqB
Output for 5.6.8
U9pzwF8SPZLm
Output for 5.6.7
1NIEoSLWUcIM
Output for 5.5.35
cDEuFmyoD4oY
Output for 5.5.34
dkE2V95coS9P
Output for 5.5.33
Mf2kMFnKYrTg
Output for 5.5.32
HYMaTMmpQBh0
Output for 5.5.31
HztPBXbuNfxq
Output for 5.5.30
G4aZuf3zjAd2
Output for 5.5.29
HwTIRDoxZ0KE
Output for 5.5.28
UVrXzkJBPbwq
Output for 5.5.27
hfiNry9K31jb
Output for 5.5.26
3tOibW2FxTJX
Output for 5.5.25
ZYK8BZ7oM8Ho
Output for 5.5.24
Mm6ziFAJfIbg
Output for 5.4.45
rnENFsxw3XJY
Output for 5.4.44
MGxfUDbiQmbC
Output for 5.4.43
qcen97RiMpyY
Output for 5.4.42
tW6qJm8UcoIO
Output for 5.4.41
Rn1zoAYjMBO1
Output for 5.4.40
fFqX8epUjTRh
Output for 5.4.39
hJMPKB9IXSOZ
Output for 5.4.38
8DYGphU9XjDK
Output for 5.4.37
Mb1FGyZKjRfQ
Output for 5.4.36
Gzc8s7aJhdVs
Output for 5.4.35
an1SaPXh75K2
Output for 5.4.34
V2zvcgI6vJY3
Output for 5.4.32
0UkytZ85CMgI
Output for 5.4.31
IqHZU4uLTC1n
Output for 5.4.30
GNPzmS1k5Yz4
Output for 5.4.29
91On7umnyvlB
Output for 5.4.28
HyFAif8l5fKd
Output for 5.4.27
dMvcfdrDCmR1
Output for 5.4.26
Z1HAEIYBiASH
Output for 5.4.25
Szf4GOmqtOJZ
Output for 5.4.24
AQSNr6XR4pqu
Output for 5.4.23
eEeN8eOnkNGW
Output for 5.4.22
fib6F4uYgQ6S
Output for 5.4.21
nCqbWPlgOQ41
Output for 5.4.20
0rHp4oIBp5ST
Output for 5.4.19
X3gI9sUsAWH0
Output for 5.4.18
Q9AlwSpgEv2Q
Output for 5.4.17
QeMLn7eNqPaR
Output for 5.4.16
ofmsdJEeksf0
Output for 5.4.15
W2KfEatCasvO
Output for 5.4.14
wVi6VmJOVR7e
Output for 5.4.13
lA2Xs6XlMAo3
Output for 5.4.12
GT3d0AJ7FtvG
Output for 5.4.11
Jl6n18QCH2jN
Output for 5.4.10
G5LF8cltkQqv
Output for 5.4.9
X4YR3rE0qpVq
Output for 5.4.8
bCM5Lh3IjNY5
Output for 5.4.7
qb6X8rbBXznM
Output for 5.4.6
h5ykM4dxCjEI
Output for 5.4.5
vE6A6WPtnLOa
Output for 5.4.4
lm2QTNyBD6J0
Output for 5.4.3
AHYCIGmdsdWF
Output for 5.4.2
rBu4cQd80Qxh
Output for 5.4.1
jqJ0mM5qz9On
Output for 5.4.0
eiuSAouUcb7E
Output for 5.3.29
Vy0XL4grIUmW
Output for 5.3.28
CEQhdanAejxI
Output for 5.3.27
lGxuJVmgAUgx
Output for 5.3.26
EMVh5uLE7kMT
Output for 5.3.25
1i1tJNwuVb6Q
Output for 5.3.24
ZDRHdZd4wS2y
Output for 5.3.23
xglhbiXfD0uq
Output for 5.3.22
Rp5Y7DuoxvMN
Output for 5.3.21
qKls72VrVy1Y
Output for 5.3.20
Xjh92perYGIr
Output for 5.3.19
LPIN0JKmQB02
Output for 5.3.18
tScp2EWA3u7u
Output for 5.3.17
sxUOW14irITI
Output for 5.3.16
bjmIHgXUTFch
Output for 5.3.15
gmZuMDudPq0o
Output for 5.3.14
SZdtGQ1ptCdB
Output for 5.3.13
lOxdn4hQ18Gc
Output for 5.3.12
3smomBSjhmos
Output for 5.3.11
pDTJGFGb5yzQ
Output for 5.3.10
IfOIdjW8cCL2
Output for 5.3.9
oNu9hqBTI1wW
Output for 5.3.8
rMqdGMB8y9KX
Output for 5.3.7
7UdONDjH9DvD
Output for 5.3.6
18RlI0RaeoD5
Output for 5.3.5
YSChKs3NRYJS
Output for 5.3.4
FqcdeBeyP0vh
Output for 5.3.3
DGSKjBWCR21W
Output for 5.3.2
B95mDY4mqjxK
Output for 5.3.1
1pO8cE8uygQx
Output for 5.3.0
wQY6Nzmz7Gwf
Output for 5.2.17
nd6SaNaKaRtV
Output for 5.2.16
klxAPbSnObqo
Output for 5.2.15
pYjVWTptizLz
Output for 5.2.14
omEwR9lnjSmV
Output for 5.2.13
8pO76fw7Q4H9
Output for 5.2.12
qSVhYZHYJvyO
Output for 5.2.11
2bJomBrDBrKW
Output for 5.2.10
khfKqxlSC6fL
Output for 5.2.9
VelxYAks56xF
Output for 5.2.8
fnbvk9SVz61E
Output for 5.2.7
iBvj7x5a5OuG
Output for 5.2.6
4sEVMHSIgDp2
Output for 5.2.5
roQGQhx7Byjv
Output for 5.2.4
zAmzaMPcXt2S
Output for 5.2.3
8IXtyZk7ruwW
Output for 5.2.2
n7gtGxv3UjJ1
Output for 5.2.1
xnc7uUaiKtvH
Output for 5.2.0
670qCFjY4Ss2
Output for 5.1.6
bqEfbs95E9Hy
Output for 5.1.5
54DeXciVDtpO
Output for 5.1.4
uBJheMHvOoLq
Output for 5.1.3
k7rl9CxULnL1
Output for 5.1.2
eiK7rOPAIT4a
Output for 5.1.1
jZ6cZGDaCesp
Output for 5.1.0
Yf9F6fzbHJ40
Output for 5.0.5
nugbFh6thyHQ
Output for 5.0.4
ZYKEOMm6JPpP
Output for 5.0.3
MmDTjKErQjJl
Output for 5.0.2
Zpy0fBxOUPn5
Output for 5.0.1
WDexAkWR9d36
Output for 5.0.0
J7GhgxwyaTpU
Output for 4.4.9
u9F4nrGiaRod
Output for 4.4.8
UnWaRruNQo9S
Output for 4.4.7
EQJEKeSso6vz
Output for 4.4.6
LWdVZ59gorFQ
Output for 4.4.5
wQxVuAZNYxio
Output for 4.4.4
cLRdNMrosm1R
Output for 4.4.3
KpaTpE9yltQY
Output for 4.4.2
0U4MA0Zd1SXj
Output for 4.4.1
8Zi575ZUTa1L
Output for 4.4.0
tfuby9mNTlRA
Output for 4.3.11
WDhvJ0U067FQ
Output for 4.3.10
r2g0PI61efzP
Output for 4.3.9
QjOhBrfQyuTZ
Output for 4.3.8
Vj2dipdnequx
Output for 4.3.7
yxy4oTV92J7p
Output for 4.3.6
ntPHYBaonYRX
Output for 4.3.5
z3o5qYAcbeDb
Output for 4.3.4
Mk2gt28wBA90
Output for 4.3.3
ACnOcpUBYAqE
Output for 4.3.2
u5g2pvbkyqGc
Output for 4.3.1
FeRnwvx6JTVY
Output for 4.3.0
zvLzHSxZ37Fe