3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $vowels = array('a','e','i','o','u'); $other = array('b','c','d','f','g','h','j','k','l','m', 'p', 'q', 'r', 's', 't', 'v', 'w', 'x', 'y', 'z'); $prev = null; for ($x=0,$s=null,$s=null;$x<4;$x++) { if (in_array($prev, $other)) { $s .= $vowels[array_rand($vowels)]; } else { $s .= $other[array_rand($other)]; } $prev = $s; } echo $s;
Output for 7.1.0
cerv
Output for 7.0.14
paqd
Output for 7.0.6
morf
Output for 7.0.5
jupm
Output for 7.0.4
lewz
Output for 7.0.3
caxl
Output for 7.0.2
xitr
Output for 7.0.1
mesy
Output for 7.0.0
rikx
Output for hhvm-3.12.0
kapc
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
quyh
Output for 5.6.21
kihf
Output for 5.6.20
mojr
Output for 5.6.19
cujw
Output for 5.6.18
lohl
Output for 5.6.17
vack
Output for 5.6.16
hejg
Output for 5.6.15
xoml
Output for 5.6.14
dapy
Output for 5.6.13
gezd
Output for 5.6.12
lemg
Output for 5.6.11
wewg
Output for 5.6.10
tohj
Output for 5.6.9
zokq
Output for 5.6.8
jaxb
Output for 5.5.35
qesk
Output for 5.5.34
fitw
Output for 5.5.33
cocd
Output for 5.5.32
xexs
Output for 5.5.31
tect
Output for 5.5.30
zicv
Output for 5.5.29
tetv
Output for 5.5.28
povc
Output for 5.5.27
piwr
Output for 5.5.26
qusl
Output for 5.5.25
suly
Output for 5.5.24
xijv
Output for 5.4.45
sehm
Output for 5.4.44
yokp
Output for 5.4.43
yivh
Output for 5.4.42
sodk
Output for 5.4.41
xegs
Output for 5.4.40
telw
Output for 5.4.39
kiwm
Output for 5.4.38
jotw
Output for 5.4.37
wawf
Output for 5.4.36
xiyk
Output for 5.4.35
wiqs
Output for 5.4.34
hohm
Output for 5.4.32
dald
Output for 5.4.31
bupz
Output for 5.4.30
towf
Output for 5.4.29
lofl
Output for 5.4.28
cawx
Output for 5.4.27
gadx
Output for 5.4.26
lesf
Output for 5.4.25
jexm
Output for 5.4.24
rofw
Output for 5.4.23
kayb
Output for 5.4.22
hitr
Output for 5.4.21
sigz
Output for 5.4.20
dert
Output for 5.4.19
puzx
Output for 5.4.18
wohx
Output for 5.4.17
tutj
Output for 5.4.16
fozy
Output for 5.4.15
xeqm
Output for 5.4.14
buzc
Output for 5.4.13
havg
Output for 5.4.12
gigg
Output for 5.4.11
qabp
Output for 5.4.10
rocd
Output for 5.4.9
hapj
Output for 5.4.8
fakm
Output for 5.4.7
xilj
Output for 5.4.6
zavv
Output for 5.4.5
migc
Output for 5.4.4
yavv
Output for 5.4.3
devl
Output for 5.4.2
fimf
Output for 5.4.1
woym
Output for 5.4.0
wabl
Output for 5.3.29
tujs
Output for 5.3.28
bofz
Output for 5.3.27
fazd
Output for 5.3.26
gigb
Output for 5.3.25
boqv
Output for 5.3.24
qugd
Output for 5.3.23
viwt
Output for 5.3.22
hadm
Output for 5.3.21
kalz
Output for 5.3.20
sufm
Output for 5.3.19
lalx
Output for 5.3.18
mokz
Output for 5.3.17
roqm
Output for 5.3.16
sidh
Output for 5.3.15
huqy
Output for 5.3.14
meyv
Output for 5.3.13
wurx
Output for 5.3.12
yeyd
Output for 5.3.11
temj
Output for 5.3.10
kovx
Output for 5.3.9
watc
Output for 5.3.8
ratp
Output for 5.3.7
mevg
Output for 5.3.6
jolx
Output for 5.3.5
ragk
Output for 5.3.4
pawb
Output for 5.3.3
bady
Output for 5.3.2
velv
Output for 5.3.1
gagj
Output for 5.3.0
gefy
Output for 5.2.17
cehs
Output for 5.2.16
dutf
Output for 5.2.15
lafw
Output for 5.2.14
xixj
Output for 5.2.13
marz
Output for 5.2.12
hith
Output for 5.2.11
kozl
Output for 5.2.10
wozb
Output for 5.2.9
wawt
Output for 5.2.8
rifs
Output for 5.2.7
belb
Output for 5.2.6
feds
Output for 5.2.5
pobw
Output for 5.2.4
wovg
Output for 5.2.3
ruhd
Output for 5.2.2
zabj
Output for 5.2.1
fodw
Output for 5.2.0
zoht
Output for 5.1.6
delj
Output for 5.1.5
wimy
Output for 5.1.4
darf
Output for 5.1.3
lewk
Output for 5.1.2
datc
Output for 5.1.1
figt
Output for 5.1.0
fizg
Output for 5.0.5
cufb
Output for 5.0.4
fihy
Output for 5.0.3
fegh
Output for 5.0.2
suwj
Output for 5.0.1
felr
Output for 5.0.0
mevv
Output for 4.4.9
codl
Output for 4.4.8
vavw
Output for 4.4.7
topt
Output for 4.4.6
jikj
Output for 4.4.5
rijt
Output for 4.4.4
pikg
Output for 4.4.3
xutl
Output for 4.4.2
hoxx
Output for 4.4.1
cupp
Output for 4.4.0
qopk
Output for 4.3.11
habv
Output for 4.3.10
gerd
Output for 4.3.9
vobw
Output for 4.3.8
sitf
Output for 4.3.7
kazg
Output for 4.3.6
felt
Output for 4.3.5
kejy
Output for 4.3.3 - 4.3.4
yexm
Output for 4.3.2
jozg
Output for 4.3.1
cucx
Output for 4.3.0
litp