3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $generated_id = strtoupper(substr('abcdefghijklmnopqrstuvwxyz', mt_rand(0,25), 1) . mt_rand(0,9) . substr(hash("sha256", time() . mt_rand(100000,999999)),0,6)); echo $generated_id;
Output for 7.1.0
J2806EB8
Output for 7.0.14
V874E0A8
Output for 7.0.9
R074E64A
Output for 7.0.8
N3039ED5
Output for 7.0.7
N62FB8B7
Output for 7.0.6
D7B6EEDE
Output for 7.0.5
I85CF350
Output for 7.0.4
X0250A6B
Output for 7.0.3
C29AED8F
Output for 7.0.2
T3F97B01
Output for 7.0.1
A45A2347
Output for 7.0.0
F5061638
Output for hhvm-3.12.0
E0A8D4C5
Output for hhvm-3.10.0
Z8F36674
Output for 5.6.28
A27A867B
Output for 5.6.24
R2B40EEF
Output for 5.6.23
H85359F6
Output for 5.6.22
Y01A53BE
Output for 5.6.21
U3FD25E0
Output for 5.6.20
T061AFBC
Output for 5.6.19
V5B8024E
Output for 5.6.18
I4D29CBE
Output for 5.6.17
G5DC3F35
Output for 5.6.16
N76E861D
Output for 5.6.15
V0918304
Output for 5.6.14
R9FC92DB
Output for 5.6.13
J1145F75
Output for 5.6.12
M920857D
Output for 5.6.11
G3D84404
Output for 5.6.10
H4C2D046
Output for 5.6.9
Y1688A1B
Output for 5.6.8
Q4C27B00
Output for 5.6.7
D06C864E
Output for 5.6.6
H10AEB30
Output for 5.6.5
N2AEDDF1
Output for 5.6.4
S9EAA779
Output for 5.6.3
N2C3E484
Output for 5.6.2
S06DE2DC
Output for 5.6.1
M2F8E081
Output for 5.6.0
A8288301
Output for 5.5.38
J78D8976
Output for 5.5.37
K5A342A5
Output for 5.5.36
A5CA22E5
Output for 5.5.35
I037DD06
Output for 5.5.34
M11669A9
Output for 5.5.33
Z31CFB61
Output for 5.5.32
B83E878C
Output for 5.5.31
V5BB0E58
Output for 5.5.30
O71100AA
Output for 5.5.29
S134DA37
Output for 5.5.28
Z49012DB
Output for 5.5.27
P875B838
Output for 5.5.26
E1EA0DF8
Output for 5.5.25
G3C97AC3
Output for 5.5.24
P71A627C
Output for 5.5.23
X5EB7E3A
Output for 5.5.22
N5BF5089
Output for 5.5.21
O8D0A9BB
Output for 5.5.20
R4EB5407
Output for 5.5.19
E7BE9920
Output for 5.5.18
M7651243
Output for 5.5.16
W465DF8A
Output for 5.5.15
W2CE3D91
Output for 5.5.14
K14C1CE0
Output for 5.5.13
U267EB6C
Output for 5.5.12
V2FCFD37
Output for 5.5.11
B57A6300
Output for 5.5.10
B13F2297
Output for 5.5.9
Z60C3102
Output for 5.5.8
O2C53A9F
Output for 5.5.7
L3280FCA
Output for 5.5.6
B4A6CAA3
Output for 5.5.5
L5C07A24
Output for 5.5.4
C2722AE5
Output for 5.5.3
X94EC175
Output for 5.5.2
T392291C
Output for 5.5.1
X852C019
Output for 5.5.0
F1E1BD5C
Output for 5.4.45
Q6FE7659
Output for 5.4.44
V2D1271E
Output for 5.4.43
U97148B2
Output for 5.4.42
L0DA5C55
Output for 5.4.41
N0BFF89D
Output for 5.4.40
J4D2C91F
Output for 5.4.39
C1CEA51F
Output for 5.4.38
A421BF84
Output for 5.4.37
R9EB40B8
Output for 5.4.36
D8BD2CD5
Output for 5.4.35
G3666303
Output for 5.4.34
H911A8C0
Output for 5.4.32
P3997310
Output for 5.4.31
D6C131AA
Output for 5.4.30
V762973C
Output for 5.4.29
Q7DF86A7
Output for 5.4.28
L70961D7
Output for 5.4.27
D908BB95
Output for 5.4.26
J70A890D
Output for 5.4.25
H61F21C9
Output for 5.4.24
P14EE4C7
Output for 5.4.23
R7544558
Output for 5.4.22
L6DA52BC
Output for 5.4.21
K0E867BC
Output for 5.4.20
U5858AAA
Output for 5.4.19
R6C52770
Output for 5.4.18
R0DC5181
Output for 5.4.17
H76EE7AA
Output for 5.4.16
F623E43D
Output for 5.4.15
O5A1EBB6
Output for 5.4.14
Q60D9253
Output for 5.4.13
F56F733E
Output for 5.4.12
U80936C4
Output for 5.4.11
V5B2F302
Output for 5.4.10
L2E3FDF2
Output for 5.4.9
G4FF7BBD
Output for 5.4.8
B22E6A3B
Output for 5.4.7
F20F6E12
Output for 5.4.6
K327E9C8
Output for 5.4.5
I81E8D5D
Output for 5.4.4
K79F4DB4
Output for 5.4.3
N4A305FB
Output for 5.4.2
C3865E21
Output for 5.4.1
H400C040
Output for 5.4.0
F80584D3
Output for 5.3.29
H0685207
Output for 5.3.28
B789690F
Output for 5.3.27
L0750210
Output for 5.3.26
Z4FE16DE
Output for 5.3.25
E44C12E1
Output for 5.3.24
I05FCF05
Output for 5.3.23
V812BE44
Output for 5.3.22
V16218BC
Output for 5.3.21
J06B94F1
Output for 5.3.20
G45EF36B
Output for 5.3.19
Y6267B26
Output for 5.3.18
P890FAED
Output for 5.3.17
B254ED1A
Output for 5.3.16
J49FEFF3
Output for 5.3.15
R6192182
Output for 5.3.14
W6FB9D57
Output for 5.3.13
P9118622
Output for 5.3.12
Z5079128
Output for 5.3.11
D38A0688
Output for 5.3.10
V419F454
Output for 5.3.9
D783E61B
Output for 5.3.8
H24E2F82
Output for 5.3.7
L015B318
Output for 5.3.6
M6E09DFE
Output for 5.3.5
U15F8510
Output for 5.3.4
R25BAEB5
Output for 5.3.3
Q16D02EA
Output for 5.3.2
R8974BDE
Output for 5.3.1
X253A160
Output for 5.3.0
O5DD19F7
Output for 5.2.17
W217B3CA
Output for 5.2.16
L7ECBDC6
Output for 5.2.15
K2F2BB29
Output for 5.2.14
E9587E32
Output for 5.2.13
O4F38C6C
Output for 5.2.12
I354721D
Output for 5.2.11
M2D8D147
Output for 5.2.10
F2522ECC
Output for 5.2.9
V15F8934
Output for 5.2.8
T9BE8E86
Output for 5.2.7
F9A04C54
Output for 5.2.6
H954622F
Output for 5.2.5
D43511FE
Output for 5.2.4
G3E8972D
Output for 5.2.3
A3506503
Output for 5.2.2
T1FF7211
Output for 5.2.1
C55CDBAB
Output for 5.2.0
D0BB2F03
Output for 5.1.6
S71B6FB7
Output for 5.1.5
E8D54F37
Output for 5.1.4
L851B6AB
Output for 5.1.3
F092C2B8
Output for 5.1.2
O5EF3601
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/CGIjN 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/CGIjN 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/CGIjN 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/CGIjN on line 3