3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $generated_id = substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6); $generated_id = strtoupper($generated_id); echo $generated_id;
Output for 7.1.0
D6D92499
Output for 7.0.14
Q63669A4
Output for 7.0.10
H45A3872
Output for 7.0.9
R85E5997
Output for 7.0.8
Q8D50563
Output for 7.0.7
X9B2553B
Output for 7.0.6
U926E88E
Output for 7.0.5
L39FCF11
Output for 7.0.4
G68A8276
Output for 7.0.3
J30D14B7
Output for 7.0.2
I83935D9
Output for 7.0.1
T0ED1330
Output for 7.0.0
Z9C6408D
Output for hhvm-3.12.0
E4559BB5
Output for hhvm-3.10.0
G2891995
Output for 5.6.28
X0BF9053
Output for 5.6.25
D5F8EDB3
Output for 5.6.24
L3896C5F
Output for 5.6.23
U8385239
Output for 5.6.22
D54ED3CC
Output for 5.6.21
A3C7E679
Output for 5.6.20
I8465126
Output for 5.6.19
B94A738B
Output for 5.6.18
V4805B4B
Output for 5.6.17
Q3B32589
Output for 5.6.16
R7187647
Output for 5.6.15
O3F201F8
Output for 5.6.14
V396278B
Output for 5.6.13
H1641AF7
Output for 5.6.12
P87BB9E5
Output for 5.6.11
F9B48C8C
Output for 5.6.10
N3BB6C09
Output for 5.6.9
K0006526
Output for 5.6.8
A8D81D6E
Output for 5.6.7
F53DF4A5
Output for 5.6.6
G6FB19CC
Output for 5.6.5
M89D908A
Output for 5.6.4
J6944110
Output for 5.6.3
O44BB682
Output for 5.6.2
E5E1D1FB
Output for 5.6.1
D55BBD47
Output for 5.6.0
B0365EC3
Output for 5.5.38
O1EFFEFF
Output for 5.5.37
B4861443
Output for 5.5.36
Y0C1F78F
Output for 5.5.35
U7B84AA0
Output for 5.5.34
W733E857
Output for 5.5.33
M1F942B1
Output for 5.5.32
H7DF8A1A
Output for 5.5.31
G05D8668
Output for 5.5.30
B629D3FA
Output for 5.5.29
Q609404E
Output for 5.5.28
Z2AF3C74
Output for 5.5.27
Z5F7C10D
Output for 5.5.26
Q0CB2E1A
Output for 5.5.25
Z73AD4E2
Output for 5.5.24
C19D7908
Output for 5.5.23
T8C80A05
Output for 5.5.22
X8924C3B
Output for 5.5.21
I74780EC
Output for 5.5.20
O9139A48
Output for 5.5.19
L653762D
Output for 5.5.18
X04E3D3E
Output for 5.5.16
H2317526
Output for 5.5.15
F418968E
Output for 5.5.14
Q7A8D6D9
Output for 5.5.13
J29130C3
Output for 5.5.12
P4721600
Output for 5.5.11
W7E37806
Output for 5.5.10
H800FF50
Output for 5.5.9
A730F7E7
Output for 5.5.8
R2F36E44
Output for 5.5.7
F73EC4C0
Output for 5.5.6
Z74E8E61
Output for 5.5.5
Y439CAE1
Output for 5.5.4
D6B5D40E
Output for 5.5.3
D774EDED
Output for 5.5.2
P4E333BE
Output for 5.5.1
T4C01866
Output for 5.5.0
J73BB2BA
Output for 5.4.45
U26A3360
Output for 5.4.44
P6430510
Output for 5.4.43
V5ECAD25
Output for 5.4.42
U4B18A7E
Output for 5.4.41
J2113C8C
Output for 5.4.40
O33CDB20
Output for 5.4.39
V55F2D90
Output for 5.4.38
V54173A2
Output for 5.4.37
C9AE4505
Output for 5.4.36
R761FA6C
Output for 5.4.35
A2A61205
Output for 5.4.34
A898ECC3
Output for 5.4.32
J9845F48
Output for 5.4.31
Y5585B39
Output for 5.4.30
B7000AC0
Output for 5.4.29
K09E0773
Output for 5.4.28
Q5D0F9C4
Output for 5.4.27
B87046F0
Output for 5.4.26
A5A165E6
Output for 5.4.25
P8A893C8
Output for 5.4.24
E4AA2BB3
Output for 5.4.23
V3B48B48
Output for 5.4.22
H642788B
Output for 5.4.21
U662B748
Output for 5.4.20
V8F39BBF
Output for 5.4.19
H1C6E6C6
Output for 5.4.18
M4608F01
Output for 5.4.17
H3A1D1E0
Output for 5.4.16
Y87C964A
Output for 5.4.15
W8901C2C
Output for 5.4.14
Y2AB15C4
Output for 5.4.13
B6B637E1
Output for 5.4.12
O5BE4450
Output for 5.4.11
Q09DC51F
Output for 5.4.10
M96156C4
Output for 5.4.9
E8C62BFE
Output for 5.4.8
C8AD92C9
Output for 5.4.7
Z8A5B709
Output for 5.4.6
V35751A3
Output for 5.4.5
V81A75D6
Output for 5.4.4
B965FDB1
Output for 5.4.3
I88A161F
Output for 5.4.2
W1DAF336
Output for 5.4.1
B61D8C73
Output for 5.4.0
B0315F61
Output for 5.3.29
I02E2C87
Output for 5.3.28
V244AF2B
Output for 5.3.27
W8C533FA
Output for 5.3.26
G831A5CC
Output for 5.3.25
N9D52436
Output for 5.3.24
I1255792
Output for 5.3.23
A3E140A6
Output for 5.3.22
V1B3C87D
Output for 5.3.21
B6D455A2
Output for 5.3.20
B1053765
Output for 5.3.19
K2EA3D9C
Output for 5.3.18
C7E7FA39
Output for 5.3.17
B723E029
Output for 5.3.16
X98F097F
Output for 5.3.15
E10F3A49
Output for 5.3.14
P7866237
Output for 5.3.13
Z905BF93
Output for 5.3.12
E781A7A8
Output for 5.3.11
T1C7E524
Output for 5.3.10
N745FA97
Output for 5.3.9
Y53CA7E0
Output for 5.3.8
B8DAB400
Output for 5.3.7
Q53A4BA9
Output for 5.3.6
O03274EB
Output for 5.3.5
W6706EE0
Output for 5.3.4
F37F1E65
Output for 5.3.3
E33535EB
Output for 5.3.2
G3B046B4
Output for 5.3.1
P1BC2280
Output for 5.3.0
T2C9235A
Output for 5.2.17
E2C48563
Output for 5.2.16
S1FCD5AE
Output for 5.2.15
N1D30D90
Output for 5.2.14
K5B2BA22
Output for 5.2.13
X55B01AC
Output for 5.2.12
U65F33E5
Output for 5.2.11
T4DFBCEC
Output for 5.2.10
D744682F
Output for 5.2.9
M67816D4
Output for 5.2.8
E4048903
Output for 5.2.7
D2D966A7
Output for 5.2.6
C68C6D56
Output for 5.2.5
M5F64A89
Output for 5.2.4
W5E722BE
Output for 5.2.3
C1AF5C6F
Output for 5.2.2
X85A027C
Output for 5.2.1
L0C9F3CE
Output for 5.2.0
X41E81B7
Output for 5.1.6
Q685414F
Output for 5.1.5
Y2DBB722
Output for 5.1.4
X72D6A39
Output for 5.1.3
F7334CB2
Output for 5.1.2
E78C7846
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/E3nv5 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/E3nv5 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/E3nv5 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/E3nv5 on line 3