3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function generate_GUID() { $uuid = md5(uniqid(rand(), true)); $guid = substr($uuid,0,8)."-". substr($uuid,8,4)."-". substr($uuid,12,4)."-". substr($uuid,16,4)."-". substr($uuid,20,12); return $guid; } echo strtoupper(generate_GUID());
Output for 7.1.0
283F2BA8-4305-0238-996C-8C36E62EE270
Output for 7.0.14
7CE372FC-D03E-15AB-8BE5-3E1B78760525
Output for 7.0.12
80FB6B89-E591-8AC9-2302-B500C09D8217
Output for 7.0.6
57F694B8-3D3C-08F1-C481-C079DDEA4046
Output for 7.0.5
5C84DCDE-3DA2-1482-EAE5-3DDA53F7DEBC
Output for 7.0.4
FB9EB199-66A2-B99D-6B94-CBE1AD6CBF1A
Output for 7.0.3
BF6294A8-8F9E-DF8F-38DD-0E9D30749A82
Output for 7.0.2
F3647A71-DDCE-9D61-5E21-904DBE5D06D0
Output for 7.0.1
A77375C1-334C-1400-9D15-FD54FCC67CA6
Output for 7.0.0
5704E452-66C5-AF7C-4A3F-16C6406CD4FB
Output for hhvm-3.12.0
297CA463-A911-C471-DBCF-579B751B1F9C
Output for hhvm-3.10.0
7EBB560A-5713-367D-21AC-DAA2B2719FB1
Output for 5.6.28
098BAA40-5EB6-2C81-DBC2-4AEA376940E4
Output for 5.6.21
6EC9E629-59B2-A929-020C-16472FA566F7
Output for 5.6.20
F11AF1D4-0BB7-62D9-E81A-4177945FABCB
Output for 5.6.19
5AF16F5E-0C03-AB22-9FB3-156976FB936F
Output for 5.6.18
8E354269-5B86-CE56-39B2-BB9193725E7E
Output for 5.6.17
178BBE4A-C8F4-E870-BBFF-8912B1267D03
Output for 5.6.16
F3D2A573-E3EE-DBE8-D9A3-B6E38B3861B0
Output for 5.6.15
45AF8AB7-47D4-8334-3C74-FFCD163BFD8A
Output for 5.6.14
E4BE9EF2-014F-CAA0-2BE6-D73FB797E252
Output for 5.6.13
FAC7BFA9-FAB0-05C7-41CE-992A311890C3
Output for 5.6.12
FBC0980B-3854-EEC8-1D2C-2A03C8CF61B4
Output for 5.6.11
99410701-0C07-FCD5-4622-65D0EF1BEB96
Output for 5.6.10
D4960ECA-C45F-A961-B8B8-2D9857A2A709
Output for 5.6.9
4CEE4954-68DE-46C8-32DE-62B28EBB763C
Output for 5.6.8
E2567AF0-0DC0-0890-7AE4-BCA15D50DECA
Output for 5.6.7
9159AFE7-C242-8F8C-32A2-934A3328C638
Output for 5.6.6
94609214-3A20-88A7-46D0-9DADA0156C99
Output for 5.6.5
ED92F890-5FF2-F3E8-6286-1903AB065758
Output for 5.6.4
4AF9D030-D942-CCB9-4E96-B1EDCCF8B603
Output for 5.6.3
B6DC6C2E-20B0-617F-6A81-D0D952DCD116
Output for 5.6.2
E1D6A53A-E571-268C-ACC2-BD756A76E637
Output for 5.6.1
31F681D4-B8B3-1450-31BC-5C149D05BCAA
Output for 5.6.0
DA8B89F4-690A-31F5-A58B-07BAAC3824E5
Output for 5.5.35
C4C05105-995C-916D-2A29-A694BFE26941
Output for 5.5.34
548C75AF-9A4F-3482-66D8-E43E540A2437
Output for 5.5.33
631CD678-ADAA-1762-8A50-D07ECDF0E2BD
Output for 5.5.32
E11B45FF-6662-8817-52D0-9C9C303285A6
Output for 5.5.31
40825DAF-3D2E-D1E5-DDF0-A747C3FB5159
Output for 5.5.30
D7147DA5-F6C2-60B1-442E-619EFA735E45
Output for 5.5.29
CE5B1F8E-82B9-7D9F-ACD6-226EABDF9C29
Output for 5.5.28
5146BC58-73DB-4E01-2FB9-EA1BEF2D3697
Output for 5.5.27
52903CC2-8E75-147B-B574-0C673E6E9732
Output for 5.5.26
1BBD3DFD-9EE1-3334-2D3B-C8B8FD209216
Output for 5.5.25
46A3F262-809E-85D0-DE11-0E5E8F4609EF
Output for 5.5.24
87A054AE-3147-3850-BBF8-3E5C9750BF40
Output for 5.5.23
1E29C976-DFD8-0902-A47F-F5D5B92CD39D
Output for 5.5.22
82A3F951-CDD3-4EF7-E5C4-24B7717FBCDC
Output for 5.5.21
2B12405F-3F97-C260-127F-B461A9EFE658
Output for 5.5.20
B5B33958-CF26-FEDD-C296-EEA787DA22C7
Output for 5.5.19
1F2513F0-7AFF-47C1-C357-2DF2AE648C14
Output for 5.5.18
FECB9347-5CC1-AEFD-98D0-7006FFEE2708
Output for 5.5.16
E983B9D0-B144-33F2-A2D5-24DB2CB0F8C6
Output for 5.5.15
10E386BD-FF71-1425-363A-AF366CCC423B
Output for 5.5.14
CBD104D2-8658-9C5F-BB0F-C22DC107AC62
Output for 5.5.13
22C29D22-0CD5-1A91-6611-F0DC30D19DC8
Output for 5.5.12
89FCA3D3-D4B2-C4E7-3D22-C0A043306A73
Output for 5.5.11
963529F1-4BAA-7517-233A-69F27DCCE6AE
Output for 5.5.10
A6988CC2-2D95-660C-E3BB-093286545ACF
Output for 5.5.9
1EE77D97-2E41-D7EE-4413-1932B7B74827
Output for 5.5.8
73A14C2C-8B63-6132-C36F-EBD6A25DC222
Output for 5.5.7
2188315C-D622-CC86-E640-08624ADC0E99
Output for 5.5.6
5543E38C-AD1B-A112-2BC6-A31FE2651F25
Output for 5.5.5
2D5C0DBA-F575-072E-FBEB-6863E33CDED9
Output for 5.5.4
798F069C-EBFB-42D7-6668-DADE850EE996
Output for 5.5.3
BE874D32-201C-7799-198D-A3B687DBDD4D
Output for 5.5.2
FC6FCCC6-E893-76E6-25CC-344FD5379901
Output for 5.5.1
25705F0F-4B68-9A3D-4AE9-8904EC99C92C
Output for 5.5.0
FEDFF556-E649-F74F-F94F-BD135BE5FB1E
Output for 5.4.45
D61B5B81-EDC5-C044-412C-BF161D3F5308
Output for 5.4.44
D60D0B77-AE37-49E7-F987-BDCE0881FBC2
Output for 5.4.43
BDC5897B-10E1-559C-CE20-688F83F58095
Output for 5.4.42
6212A74E-FDA7-31A7-EF84-B398572A3CB9
Output for 5.4.41
D8E24DA4-6FAB-2BBB-A145-22C852E2C8F7
Output for 5.4.40
E64E750F-158F-2750-46F5-E21BCDFE336B
Output for 5.4.39
391D7D44-AF60-81BC-C78A-D9AC54EC5A0D
Output for 5.4.38
9A163D7C-A9BB-1E8B-3CFE-ADFA508709CC
Output for 5.4.37
FBFE89E4-EE52-EA79-23E2-EFC7CE3D49E1
Output for 5.4.36
141E0E5D-220E-8246-843C-E120B5EDC6D9
Output for 5.4.35
F77A9D5F-A382-08F3-E270-1C2BE050B6E4
Output for 5.4.34
69EF907E-0C7C-43CC-D940-FAD4AE4443C4
Output for 5.4.32
C42E82E6-C217-8AB2-8532-CB743504E193
Output for 5.4.31
69871A87-2291-5E64-21E7-E30411988398
Output for 5.4.30
0048B433-4F9A-DDA3-883D-136DE323394E
Output for 5.4.29
5F72A857-324B-003E-0A1B-C5924DA9C234
Output for 5.4.28
C6159585-7F35-445A-5EF6-C5A7032B4E4F
Output for 5.4.27
93F0C49D-5A5A-743C-D2E0-7FAB29C70EB5
Output for 5.4.26
AAB54BE5-AC46-782C-F813-CA5AB11F1860
Output for 5.4.25
CA8D4EAE-7D36-C10C-B1AC-0FA3DF977FC1
Output for 5.4.24
23EA0A13-05BC-1A94-0EEC-72D555B8979B
Output for 5.4.23
40A5F874-6A20-D341-E6D1-C8D49F0B845B
Output for 5.4.22
F5957115-2B56-0E5F-28C4-7E3D10736823
Output for 5.4.21
4499EDF6-47AF-8889-C28B-21CC637D5F60
Output for 5.4.20
109D4B8C-116A-AD14-C6DF-1DF0E65C6FBC
Output for 5.4.19
184EB3CE-BAB8-9244-C90B-9C799269FAAB
Output for 5.4.18
97D8B8BF-1926-69F8-55A1-72C355F9E4A7
Output for 5.4.17
1667C468-0B84-7440-6BD3-B93EBD4BB4E0
Output for 5.4.16
BC85C195-E65F-79AF-2588-EE2B18E6A8AD
Output for 5.4.15
866A9752-F690-8059-91B2-97DC37209518
Output for 5.4.14
2F929CC9-2FA7-BDFB-67A4-161BA6E9A545
Output for 5.4.13
41B54F7E-291A-3A23-D049-AD2867312E07
Output for 5.4.12
AE6B10AD-ABE8-9690-04A8-DB1E5AEAA403
Output for 5.4.11
D9701907-502B-E466-5A05-75E4613797AF
Output for 5.4.10
840AFF01-077E-099B-A0E0-C0DE4B2AC512
Output for 5.4.9
9502B75B-2C57-B23A-97B2-8C56EDC7A8A8
Output for 5.4.8
EF3E74B6-FEBA-E274-1F28-C303638BE136
Output for 5.4.7
5A19A84C-209F-4565-3AEC-E9DBA2F4E596
Output for 5.4.6
D633E05A-AFA3-7D08-4EB5-EA0CADA8C6F4
Output for 5.4.5
089DC38E-FB33-E076-081A-2F873DE345B6
Output for 5.4.4
27A05490-34DC-33BE-4C37-39F5103EDBE0
Output for 5.4.3
D2BF76CA-E811-9C3D-272C-8A6DBDCB4FC7
Output for 5.4.2
A8589562-42C8-B4CE-E5CF-6964646A5D46
Output for 5.4.1
981B0DBD-50A3-C49F-4353-BEE1071F9136
Output for 5.4.0
3635E9A0-E2AE-3EE8-0E2B-C2CF6B1D6B4D
Output for 5.3.29
E489C393-8B91-1098-FE61-AFF2A7D70480
Output for 5.3.28
0F1D2CD2-5811-FA74-4953-1C89DFDF55E5
Output for 5.3.27
E7660658-03CA-9DD6-82C1-E56BE68C39F7
Output for 5.3.26
26C4E15F-74D6-68B6-D52B-98C65FF3DAB6
Output for 5.3.25
63CCAED2-A296-7A2A-C5E0-5C6EBD634F4A
Output for 5.3.24
6D708298-248F-3836-CAB0-5AFDB0F8D3C7
Output for 5.3.23
13E7DFA2-D559-5B07-2072-01F5A7238871
Output for 5.3.22
AAAE4386-6C74-CAE3-E6A2-6FFB608855EA
Output for 5.3.21
45E3498F-C711-5E77-986A-E1CF42B79AAD
Output for 5.3.20
7388DAF0-B49D-30FD-8D3E-97EA603B5C1D
Output for 5.3.19
58E1421C-FAAA-BD73-AAA6-0DA4D8A5E977
Output for 5.3.18
6BC3D824-56E5-8834-BBAA-826F6963C07A
Output for 5.3.17
4B1B36E3-E17C-7731-DC63-350F0C44ACC4
Output for 5.3.16
8C0DDBE0-99CD-0078-AEFA-A1BC8FDFAB5D
Output for 5.3.15
B82BABD8-A255-B4A1-6AE4-44B7FF96C3E1
Output for 5.3.14
B24C30E8-D024-89EC-CA18-6346462106B9
Output for 5.3.13
565D2157-CA08-8867-E7AA-460AA1C4FBB9
Output for 5.3.12
34907FFF-2E13-A6A1-8C32-C85938609862
Output for 5.3.11
53072E5A-5014-E828-2EF5-1E00BAB2731F
Output for 5.3.10
6CC797FB-CD72-0F7D-E9BF-37698117E211
Output for 5.3.9
5DB0A861-4113-0869-1393-5E737EC15391
Output for 5.3.8
3D7F0560-7D7D-3D72-5F85-CE1210ADB687
Output for 5.3.7
9C925E1B-DCD5-9319-77D8-5219967C21C0
Output for 5.3.6
FCE7D351-B896-76E3-AEF0-72ECFF5C8C47
Output for 5.3.5
514BD0E8-0A3F-F5B0-628F-F57D57AC2143
Output for 5.3.4
6BBEC177-BB1F-66F3-EDA7-CF5461A176B1
Output for 5.3.3
473C5073-489C-E701-C26D-51BCA42DFFDB
Output for 5.3.2
F94A6046-790B-E4B7-9858-CFB5499197B2
Output for 5.3.1
ABEDB6EA-C072-9CCC-2F9C-49FD2C8FE225
Output for 5.3.0
32A82F66-3AF4-1119-64A6-6C87042E34BF
Output for 5.2.17
74E1AEDA-F000-E4F9-F50D-35210A44AE13
Output for 5.2.16
8B3592F5-19B3-9A60-E7BB-1AD4C4CA4FFD
Output for 5.2.15
F1E197CA-4906-ED03-C288-3A131F1E3D53
Output for 5.2.14
B42EB7BB-221E-1071-9C53-F5295F47F06B
Output for 5.2.13
3897A491-49CB-DF82-80BA-AA771142D9BC
Output for 5.2.12
A5CD5FCA-3C9C-B53C-4F31-8CC27138F9E0
Output for 5.2.11
B78B74D6-6CD2-87C9-DA72-DE837A5089C4
Output for 5.2.10
6EA37E0C-3410-BC7D-9C67-5E9EC06AC515
Output for 5.2.9
E78A945D-63B3-D36A-6762-4FA6A680D4CD
Output for 5.2.8
FFCD9E4D-2288-8B3B-11B5-B65D5C0CC8C3
Output for 5.2.7
73B9A5D0-5B4F-687E-BDC3-0A182368988D
Output for 5.2.6
84256C58-1950-7A5F-F16C-7674CC9FCCEC
Output for 5.2.5
306038EB-009B-FB3E-C996-F78EF665032D
Output for 5.2.4
61C1F3D3-972B-8147-8D95-D9DB075A9EAF
Output for 5.2.3
75418EB8-5DB8-8B5B-884E-61464EF0C78D
Output for 5.2.2
2CFA3E10-9AC4-5505-40D9-ED40258EAA58
Output for 5.2.1
E2431112-5576-D668-A5BC-1B9F7EABE62E
Output for 5.2.0
EEDD844D-BDF9-A9A6-21B7-A246A269FF4A
Output for 5.1.6
1CE884E3-439D-F0DC-59BA-105353650B85
Output for 5.1.5
320E97B9-062A-F5B8-2BAF-8D0DD0D1E7B6
Output for 5.1.4
B68A9980-6C28-9A6E-47AE-53FE5C7DFF58
Output for 5.1.3
4690A5BB-37DE-EA72-918D-062507BE02BF
Output for 5.1.2
BB1184F0-A60A-6175-4BE0-0FA1D5DBB98E
Output for 5.1.1
747FC198-5F6F-0DD6-0411-4A7560489728
Output for 5.1.0
5315D8EB-151F-C586-6002-B25FD0DF9DF2
Output for 5.0.5
12FB34DF-C722-3476-6331-DE9777B13756
Output for 5.0.4
088F3FCE-BE1C-F5B3-4796-D7D999BE8978
Output for 5.0.3
FD07D924-73B8-A210-0FA8-99448BF62175
Output for 5.0.2
20B6EDFF-5E62-FD93-59EA-FF3E7212EB98
Output for 5.0.1
7FBEFAED-A577-BFB4-460F-148CEBD53A82
Output for 5.0.0
0B0A458D-609F-A29B-D33F-23DE7E1C0512
Output for 4.4.9
6C6824B2-EC39-2677-994D-BA899EA9CD9D
Output for 4.4.8
80BA027D-6160-1D60-1BF6-ABDA7C9D8D25
Output for 4.4.7
12AB287C-E2D7-47DB-4EA2-A073210A5FCD
Output for 4.4.6
F2946705-8592-5048-18C5-6566E103CBBA
Output for 4.4.5
563B82A4-F73F-98B2-8E5F-40AD5F0C495D
Output for 4.4.4
1DC613FC-1268-D6D6-631A-C008643A4984
Output for 4.4.3
A94509C2-0E0D-E5BC-E2FE-2EE7B18A8F2C
Output for 4.4.2
91DF8688-CEF7-3962-EAE2-2BD5E62184CF
Output for 4.4.1
834F7636-25DB-E636-9EDC-780AE9A90296
Output for 4.4.0
57D41660-7046-D047-1FE4-2F193FBD670B
Output for 4.3.11
09DE7EEE-DF95-F962-4B38-381F42036C1A
Output for 4.3.10
56391C81-BDB7-C112-D1B3-F7385BCD8806
Output for 4.3.9
25463F1B-D7E9-32A3-1C6C-B8B3A2254888
Output for 4.3.8
E593C0E4-0779-8406-1B45-6EBD7AF198C3
Output for 4.3.7
83E15A88-ED84-3F29-4058-44438E77F454
Output for 4.3.6
E0EB479B-1254-1F42-0873-0DBD61D36BB6
Output for 4.3.5
60FA15B2-BCF9-60E4-BDC5-D826A0B8234E
Output for 4.3.4
37C5A7EC-D275-ED02-CF1C-28E35B4D565D
Output for 4.3.3
E7158720-261C-57F7-6E37-4A9DEE4BBE92
Output for 4.3.2
6731007A-A3C0-49B1-DE32-2EB5483C21EC
Output for 4.3.1
DE9627B3-89A1-9816-B8A2-CB02B6B386FB
Output for 4.3.0
FD0B1505-2085-5633-1960-E8E231B9CF9D