3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Tracking { function __construct($client_id) {} function createIdent($charcount) { $ident = null; $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; $x = 0; while ($x < $charcount) { $ident .= substr($chars, mt_rand(0, strlen($chars) - 1), 1); $x++; } return $ident; } } $tracking = new Tracking(1477); echo $tracking->createIdent(7);
Output for 7.1.0
hlrx3WY
Output for 7.0.14
t5bECWH
Output for 7.0.6
7MW4J1H
Output for 7.0.5
97RjTSy
Output for 7.0.4
KfwtP7A
Output for 7.0.3
UB0wbuw
Output for 7.0.2
nBNTM75
Output for 7.0.1
5mzKXWS
Output for 7.0.0
aOnDH2V
Output for 5.6.28
RaLHmT6
Output for 5.6.21
UpbrH9y
Output for 5.6.20
4mEKGIY
Output for 5.6.19
UAIW7Tt
Output for 5.6.18
sx6rGOy
Output for 5.6.17
5rW30h3
Output for 5.6.16
Ztiohp6
Output for 5.6.15
mmPNVob
Output for 5.6.14
7ZlljYQ
Output for 5.6.13
eCyJZmZ
Output for 5.6.12
tljudrg
Output for 5.6.11
qYXRYKD
Output for 5.6.10
pmFTI6s
Output for 5.6.9
WwUnRVG
Output for 5.6.8
dHUvAFp
Output for 5.6.7
zEcHBiJ
Output for 5.5.35
eSYD2Kb
Output for 5.5.34
MmS75LG
Output for 5.5.33
lfsoG2Q
Output for 5.5.32
vvIFYJZ
Output for 5.5.31
CBhJJrI
Output for 5.5.30
OLQbsdb
Output for 5.5.29
GhUeVxt
Output for 5.5.28
DtteQFF
Output for 5.5.27
8JlpTGE
Output for 5.5.26
vJpJxR4
Output for 5.5.25
g33Qh3R
Output for 5.5.24
0bxvIpv
Output for 5.4.45
7OGniqA
Output for 5.4.44
Q1D4XQD
Output for 5.4.43
5ppIsB4
Output for 5.4.42
NMlA0nQ
Output for 5.4.41
3dGG3pu
Output for 5.4.40
TLs6IgH
Output for 5.4.39
49VQUgj
Output for 5.4.38
QOg7NoY
Output for 5.4.37
T5s7BLZ
Output for 5.4.36
Cw95j9J
Output for 5.4.35
6kd2eaW
Output for 5.4.34
9TCUMXe
Output for 5.4.32
RhNnBvr
Output for 5.4.31
x2DvVdi
Output for 5.4.30
iuFGCnW
Output for 5.4.29
rUYXr1e
Output for 5.4.28
3plntuk
Output for 5.4.27
QDISmZp
Output for 5.4.26
bkwVrmJ
Output for 5.4.25
kklsLeq
Output for 5.4.24
57lMvQQ
Output for 5.4.23
QgwZG3X
Output for 5.4.22
27TPLoc
Output for 5.4.21
CgYm4Cq
Output for 5.4.20
UC51tRQ
Output for 5.4.19
jzV4Wyu
Output for 5.4.18
wZu24gu
Output for 5.4.17
HEr1uAc
Output for 5.4.16
h65nwkC
Output for 5.4.15
l7gHQqw
Output for 5.4.14
NdHAp4F
Output for 5.4.13
CQjeYmw
Output for 5.4.12
samIIna
Output for 5.4.11
mNFSv04
Output for 5.4.10
VT62BbA
Output for 5.4.9
CYRNggh
Output for 5.4.8
LAPtyBA
Output for 5.4.7
ooZINPw
Output for 5.4.6
Hh7HYc5
Output for 5.4.5
ZOtlzBT
Output for 5.4.4
yq7jLTg
Output for 5.4.3
YgUg4RV
Output for 5.4.2
gjG3uTO
Output for 5.4.1
oOIjDmA
Output for 5.4.0
DIZQdh4
Output for 5.3.29
m8JmMit
Output for 5.3.28
liZ8IiM
Output for 5.3.27
BuDT9Sm
Output for 5.3.26
7eY1xgg
Output for 5.3.25
9wewY6f
Output for 5.3.24
2AK3t2i
Output for 5.3.23
t7XLMdA
Output for 5.3.22
7ZbiyOD
Output for 5.3.21
alqSDrV
Output for 5.3.20
2q3XWq3
Output for 5.3.19
NeVpTyb
Output for 5.3.18
y6mxhpT
Output for 5.3.17
EQmhRZg
Output for 5.3.16
l8GItcg
Output for 5.3.15
qbWlwe1
Output for 5.3.14
mfYfyzL
Output for 5.3.13
udET8mu
Output for 5.3.12
SyS8y8t
Output for 5.3.11
YZDkENO
Output for 5.3.10
8fxeDsy
Output for 5.3.9
yiHd1tU
Output for 5.3.8
HzJsDVd
Output for 5.3.7
qZy32yH
Output for 5.3.6
8tcWykS
Output for 5.3.5
oiudIli
Output for 5.3.4
sKsDjCV
Output for 5.3.3
6nedjd0
Output for 5.3.2
eZ820V7
Output for 5.3.1
OH0ZtaP
Output for 5.3.0
tD96tfT
Output for 5.2.17
wGBY4sq
Output for 5.2.16
nY77gD5
Output for 5.2.15
Iwrre1b
Output for 5.2.14
Gv28S9J
Output for 5.2.13
K1TPwFZ
Output for 5.2.12
uuxHhJm
Output for 5.2.11
XDkvujf
Output for 5.2.10
6AhUcRC
Output for 5.2.9
HBAFcbC
Output for 5.2.8
k97qUhf
Output for 5.2.7
F6EH0yO
Output for 5.2.6
HKYnemv
Output for 5.2.5
3JUc6iF
Output for 5.2.4
f9WnYiF
Output for 5.2.3
6DPBNUj
Output for 5.2.2
Wlahh9e
Output for 5.2.1
dlWw3zf
Output for 5.2.0
nzwjBR5
Output for 5.1.6
5CGaXqr
Output for 5.1.5
wYScHdt
Output for 5.1.4
vGQ7Xzw
Output for 5.1.3
zyO76Ox
Output for 5.1.2
zNx7VRm
Output for 5.1.1
S8ntPeT
Output for 5.1.0
vnYQlw3
Output for 5.0.5
T9wm4c3
Output for 5.0.4
PjWG3Kr
Output for 5.0.3
2eGi7Or
Output for 5.0.2
I5AZ6YB
Output for 5.0.1
WBn0h6y
Output for 5.0.0
XrQ6geS
Output for 4.4.9
wYBdosM
Output for 4.4.8
o5wJA5R
Output for 4.4.7
7w5XpWl
Output for 4.4.6
bpWlwg9
Output for 4.4.5
5LKI5Nm
Output for 4.4.4
MK7FTUY
Output for 4.4.3
1mMo7Sc
Output for 4.4.2
mz06Clx
Output for 4.4.1
pJwBJNt
Output for 4.4.0
qaumscM
Output for 4.3.11
TWMPoda
Output for 4.3.10
FulGAvf
Output for 4.3.9
yLHiKlq
Output for 4.3.8
6WAxB5T
Output for 4.3.7
k3RxmC0
Output for 4.3.6
R4xGZf6
Output for 4.3.5
k0iUAki
Output for 4.3.4
Cn2Y7an
Output for 4.3.3
8UPtpGu
Output for 4.3.2
UwOVae7
Output for 4.3.1
i7EnfTH
Output for 4.3.0
mBH2eEE