3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function generate_GUID($prefix = '') { $uuid = md5(uniqid(rand(), true)); $guid = $prefix.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($prefix=''));
Output for 7.1.0
1EC105B3-5EF1-2C2A-DFBE-B364D96A5D04
Output for 7.0.14
CA26C692-081F-D6C6-850E-AFACD42D1238
Output for 7.0.12
E7F97964-1BF7-9B0B-5575-B0984DCAE5CC
Output for 7.0.6
2F8C3079-354A-FEC3-AA2B-8957DC4A8E4D
Output for 7.0.5
A835011B-1362-187F-C2CC-287637FF450E
Output for 7.0.4
EDBDB9A9-B174-7621-9CD5-D02B1B632E00
Output for 7.0.3
D9915EE9-5F59-415A-2F12-6F23ABDC2DBD
Output for 7.0.2
117473AF-66D9-6E87-0F5D-CC475F7AF21F
Output for 7.0.1
824D88D8-3057-01EE-48BA-AB7CB391C0A1
Output for 7.0.0
150D4FD6-0C27-8FCA-4BCB-1406B7BADCB3
Output for 5.6.28
A5A75E37-3EC6-E663-6E5A-55424DA36676
Output for 5.6.21
44CCE9A4-339C-CAC4-A54A-1FBB6D5B026C
Output for 5.6.20
48CC1453-47A1-C136-26CA-7FC5EE245CAE
Output for 5.6.19
DFE90F99-B225-7796-30D2-F69A26CEE3E0
Output for 5.6.18
371F1EBC-76B7-485F-B96D-BA271B3E168B
Output for 5.6.17
82944A4D-C70F-9FA3-7974-104B6202BABB
Output for 5.6.16
3DED8DED-CD19-3B35-7550-03B49813827D
Output for 5.6.15
AB3AB7EA-C4B4-9C52-1DD9-B61F022F882D
Output for 5.6.14
1A1E6CA3-43B2-A216-8CAD-CABED23E3E2A
Output for 5.6.13
041C589A-6204-BB8C-B445-A7D348FB60C7
Output for 5.6.12
6B14D6E5-B261-6DE5-F929-788057844770
Output for 5.6.11
075478ED-D5E3-B9B1-D4BB-6C0C64437F43
Output for 5.6.10
04B6BEC4-A1F6-692C-3942-287A4DB54450
Output for 5.6.9
FD2AD9C3-8408-565F-9DD1-BDCD3541494C
Output for 5.6.8
792A9633-35A9-ED12-4A63-3AB5A51293CF
Output for 5.6.7
B0AA48BD-B005-4B3A-2F13-571D2E8F0583
Output for 5.6.6
A31B69D7-3BED-BC60-AC90-20B578FCBF83
Output for 5.6.5
29CD7981-4176-95CC-BD35-BC20EFE674B6
Output for 5.6.4
CA0812E7-058B-96B3-3DEC-05E7D7FA6616
Output for 5.6.3
06A1C74E-DF2C-AB62-BEA8-700F168A4934
Output for 5.6.2
6C2A7C77-0D0F-F672-6C6D-8617E09FD0BE
Output for 5.6.1
04B72879-08D7-53C2-98BA-91AEDD8A058E
Output for 5.6.0
1922D5D9-938B-FB16-E788-9A14FA7CCCDC
Output for 5.5.35
17DC3E98-CACA-6C6C-BDD8-4C75DD9B7885
Output for 5.5.34
51A1CA88-2FF7-D07D-1F8A-8A433D33E37F
Output for 5.5.33
BFBA5366-3BF0-FB7E-A3CC-B40AD2BA864D
Output for 5.5.32
288E8369-D820-521D-EFA3-48D5F426A9DC
Output for 5.5.31
CE4974D2-B7FE-0312-C510-E2C1BFAD970E
Output for 5.5.30
F5776800-41CB-37DC-CC10-F4F0A4872D9C
Output for 5.5.29
64F3FBA5-757A-67E0-4F36-CB6A1E3C0E2A
Output for 5.5.28
595CF162-C2CD-7A91-10A9-EE6A142DDF71
Output for 5.5.27
47EDA592-D30F-1195-DA50-FEFC450AC023
Output for 5.5.26
50BC2ED3-52B2-821A-BCA2-00B12DFF2414
Output for 5.5.25
BAF53196-8B63-C767-CFAA-5F9A55E4BD4C
Output for 5.5.24
F41D351B-3424-B000-E3F2-87E9739A6089
Output for 5.5.23
94495A65-53AA-30DB-BE84-ACC916872576
Output for 5.5.22
D20FC17C-8064-53B1-F49E-0D452B591987
Output for 5.5.21
8C8CB958-9644-5F73-8F5A-0BB71176594A
Output for 5.5.20
A29F4B43-044C-3BAF-2356-F824C9767126
Output for 5.5.19
216E3B81-4C7D-A69E-B50B-678A825B79DE
Output for 5.5.18
4CFE077E-1CC6-2916-5174-380A870BCE11
Output for 5.5.16
A6C10A1F-4CF7-5220-DBCB-A608A0EF8FB4
Output for 5.5.15
5CA0BD50-39F0-240E-2FA9-4BCFC83FA1E3
Output for 5.5.14
7031CF56-1ACB-6DBC-F9BA-BA116B3C33D0
Output for 5.5.13
5DA65FB6-EA32-5DD2-A8F9-25ABBD24C3AD
Output for 5.5.12
F83ED921-13CE-3DC6-6560-510B1AB76499
Output for 5.5.11
65667664-12A8-587B-F321-6E8E576EDDFD
Output for 5.5.10
D3A7F5BA-DAA8-788E-8C61-EBD0966E6D94
Output for 5.5.9
BD1933D8-7A36-B885-09B1-8E51FCF34E38
Output for 5.5.8
02C61D48-82AA-9E34-5F5E-5A4B038A46D1
Output for 5.5.7
567B2077-3E26-AE0D-13B3-43FBA42FD921
Output for 5.5.6
0424834E-79E5-3DBE-E66A-1DAD3FF388A5
Output for 5.5.5
BB411DCF-366A-679A-173A-0D9583837161
Output for 5.5.4
92F8B41D-A3B1-8B12-21F6-CB57AF5C1049
Output for 5.5.3
A1731E92-618E-58B0-9F8F-2577FDEF14CE
Output for 5.5.2
5D178C5B-216B-7186-3C03-E7DCF094BF32
Output for 5.5.1
FE6B8984-4856-4E7F-8154-B404DF563C16
Output for 5.5.0
CBCF2999-C753-2A22-6943-0FB970A38EEB
Output for 5.4.45
B6AC2776-C63C-E4D1-EA35-26C57A38849B
Output for 5.4.44
7A0DB449-501B-8F28-60B5-490CABBE848C
Output for 5.4.43
96FD60C0-5A81-3614-0430-D7F07C9103A9
Output for 5.4.42
61B6CFD5-CF60-CFB3-9868-FA3214491869
Output for 5.4.41
CF74C6A9-E28E-F0C9-E5E6-1B4D1C9B9C54
Output for 5.4.40
142D7903-AB4F-8B04-29DF-CB398C0E11D6
Output for 5.4.39
BD180906-E1CC-3752-4253-5B6836AB1C57
Output for 5.4.38
0BBFCDDE-297F-34D2-138B-3E135239B63E
Output for 5.4.37
50F9C6AA-8833-DBB2-EE4B-BF300457B331
Output for 5.4.36
B7E0E8F1-0EFC-483B-4DCD-90ADFB2AD746
Output for 5.4.35
072EDB78-BFAD-8BAE-8380-5419F838AC43
Output for 5.4.34
78462FAE-3545-6BD3-6EED-43051E341C27
Output for 5.4.32
7DABB7CD-8168-576D-2B77-634F80C95B88
Output for 5.4.31
E7F5B672-A2F2-CD5F-391D-4104748BA1EB
Output for 5.4.30
555E4A50-7BE6-22D4-71E3-85E2E53FD45B
Output for 5.4.29
5B55E1B5-3695-11AE-116B-08A93E10F6D6
Output for 5.4.28
53F2DCAA-174A-D0BB-5900-279DEB362A35
Output for 5.4.27
7DBF0B0E-8FF3-165D-8BC7-C6A3115AB241
Output for 5.4.26
715BF7C3-4EC3-0D58-F3DC-FF3C2469D877
Output for 5.4.25
83CD41B3-D2DC-F897-ABB2-AAD2D246976B
Output for 5.4.24
E06E178A-BC3E-6FF2-2769-BFD0545EA58A
Output for 5.4.23
3C5B7333-40D6-A010-A02C-3F3267AFB3C0
Output for 5.4.22
8F63414D-5D66-EB10-A321-893AA3BD53C2
Output for 5.4.21
B07F6A9F-8824-4EB7-BE6C-93CAD33AA9D3
Output for 5.4.20
485FE173-B13C-ED2F-3732-C814FF944CF4
Output for 5.4.19
E9334BCA-4F62-1C51-3685-703B2A28F356
Output for 5.4.18
CC9804EB-C8DA-165C-B1EB-797308F88F67
Output for 5.4.17
66B8AA93-826E-F8E7-1458-AFCA719AC18E
Output for 5.4.16
1B5BE6ED-7875-BE56-B977-689D9D704E8B
Output for 5.4.15
5EBD1F50-0A93-0AF4-B6B6-E666DFD0ABF0
Output for 5.4.14
C32C60E6-6DD1-9E30-83F4-6DEE2A198AEB
Output for 5.4.13
08EA2143-AB13-A726-E0FD-EE932244A5B1
Output for 5.4.12
E54D08B5-D3D2-3FEC-3FA9-826A4BCC09D9
Output for 5.4.11
AD7E93DA-8E28-40E1-FCA5-069A05C20225
Output for 5.4.10
E9B191E6-E6B0-FE8B-1BB7-1E2DC7EA9735
Output for 5.4.9
D14759AA-033C-B313-C664-8D4F9897FA17
Output for 5.4.8
C6E27490-879D-C9C5-EA89-D079EA633926
Output for 5.4.7
0308DF74-0D65-C5D8-3681-3F5886E6A649
Output for 5.4.6
B41647C6-D0B6-DC39-84B4-53EA03D5316C
Output for 5.4.5
72AB0942-D019-0D97-CEA7-F68578099366
Output for 5.4.4
CB272721-A65E-D8D9-DE9C-730424A2A950
Output for 5.4.3
F89101E2-F4C3-D3D3-23A3-A53C31812575
Output for 5.4.2
38B71784-AD1E-9C1E-ED81-4A635621F539
Output for 5.4.1
5006C4A5-D931-63A7-12D7-D1224D10C8F3
Output for 5.4.0
96FFF174-356E-548E-6856-D1B67890E111
Output for 5.3.29
8D13DC0B-860E-75A2-B056-A547C223019C
Output for 5.3.28
08D5D06C-E55C-D32E-5EA8-F4F9EDBD34E8
Output for 5.3.27
9BF44AC2-BAF9-CA1E-F67F-053BBF016646
Output for 5.3.26
DDBEE899-B05E-9557-D50F-2D43853B713F
Output for 5.3.25
BEAD23FD-ABF4-C19F-2AD6-E5BF538056D6
Output for 5.3.24
BE177989-7CE2-E482-2232-4DACD86A1ADC
Output for 5.3.23
6A1F4A1D-5C9A-3E35-7848-1F72335899F3
Output for 5.3.22
F41F6D9D-8239-95D5-F464-8EC9AD37D765
Output for 5.3.21
EFC0672B-423A-B22F-5414-552F434DA82B
Output for 5.3.20
80A05E20-F2D7-DE55-D0E2-D64B5BA6390B
Output for 5.3.19
DEE29EFD-81F9-1D41-3597-4733A192712C
Output for 5.3.18
255969EE-3D3A-0426-3D4D-C36189BDFDCD
Output for 5.3.17
A7A8A088-23F2-779C-DA73-1BC141CF719D
Output for 5.3.16
417C6CF0-0A14-80CC-E543-049A879D42D4
Output for 5.3.15
3DA9DAF1-965A-21A5-6F69-7FD297446C02
Output for 5.3.14
105D5C1E-AAC5-D908-B3FE-9BED6BC4811C
Output for 5.3.13
9534F048-ABDF-2E63-856A-8626E016B378
Output for 5.3.12
88CFB9C5-83C1-402B-AE82-6AA35BF736B8
Output for 5.3.11
A5D007EA-B81C-50F2-E15A-CF59505C9290
Output for 5.3.10
8FB5ACF3-4678-12CA-D67C-1CE73BA37347
Output for 5.3.9
EDF7408F-7E4D-915D-8447-0711707514C1
Output for 5.3.8
721847A1-0DE9-E427-4636-F3B6F9813B63
Output for 5.3.7
1EB504B3-89D2-A5CA-5547-BC5F84F040F1
Output for 5.3.6
F52ED556-C5AB-F3B0-B6C8-EFC72F66CFDE
Output for 5.3.5
6E47ED06-3C94-9FED-0F3C-628A61AF9183
Output for 5.3.4
77B5D8B3-6AFA-48C4-DB8F-6BFD123B70FB
Output for 5.3.3
B4021006-0520-B8C8-E292-1514BB1DD3E6
Output for 5.3.2
CFA25345-4300-54EF-8358-23971F8A65DB
Output for 5.3.1
8EFA3115-9F8F-448D-4D8F-50C7B521C472
Output for 5.3.0
65F0EE35-B9CF-421F-602E-0C1220BB392E
Output for 5.2.17
77F630B7-9009-E619-74D9-D057F2EDD090
Output for 5.2.16
36959824-723C-0DE4-3EB4-B7A46E87DB67
Output for 5.2.15
9BCF2BB3-B9CA-9414-910D-6C8163951FEF
Output for 5.2.14
0BE8F2CD-D974-8713-7838-E883DCCA2E21
Output for 5.2.13
DE4D135D-1BEF-74C8-4ADF-F89FC35831EB
Output for 5.2.12
F7E4637E-4FBE-1529-DA34-02F470654306
Output for 5.2.11
C5179E02-7531-B6B6-F606-AC6AE161FE73
Output for 5.2.10
DC9512C3-AEF5-F0E1-E30A-9EF18CD3EA5D
Output for 5.2.9
EB652A1F-E24F-3A70-AFB2-BA84FCC4AE61
Output for 5.2.8
EB1BD6FE-A30B-F81F-1701-A77065D73CD2
Output for 5.2.7
842E23B1-D1C7-5736-6D25-A3D73E15F92E
Output for 5.2.6
186BCBEB-CC8E-0AB2-9492-487E2D35971D
Output for 5.2.5
3AC825B7-230C-67BD-82B1-574B787062BC
Output for 5.2.4
73BEC213-66E6-B534-2361-E48D99FD5F8F
Output for 5.2.3
54AE8C69-CA0A-9E3E-F2CE-B48168070AD1
Output for 5.2.2
5917E376-E150-76D1-F909-0337106E9125
Output for 5.2.1
22AED93A-1275-FBF9-0512-71C164FDEE0F
Output for 5.2.0
F492C8B4-EAFA-FE31-8403-D63D28E962AC
Output for 5.1.6
4BA550D7-348C-660F-A581-3FFAA7821BDD
Output for 5.1.5
7302624E-C54B-A11B-D86A-9BE228A20FDE
Output for 5.1.4
D7A0C250-8D1B-1345-72BB-75519C835109
Output for 5.1.3
83DC4981-E3B1-0BC9-61E6-BFC5476C192E
Output for 5.1.2
540A97F7-8F4A-7BD9-0B91-E8D7041492C2
Output for 5.1.1
9FB92ACF-5752-D0DE-C651-12001080BC86
Output for 5.1.0
C045BF41-C330-C33A-A889-C1FC9AC80E60
Output for 5.0.5
F85BC87A-75F5-C48D-545E-C475D345F647
Output for 5.0.4
B2857F92-5159-DDDD-A699-F3A3DA17A35C
Output for 5.0.3
030D8F9D-7C20-7B3E-E666-8D4A42EB1F6B
Output for 5.0.2
6A9414A2-8FD8-2900-F3BA-4048FEEBF76F
Output for 5.0.1
BABDB5A8-0509-B611-DE53-27948B2EE18B
Output for 5.0.0
FB5DF092-A105-B16A-7423-E2DDAB49A654
Output for 4.4.9
BE004656-DBF9-1D01-9AFF-A08F99501D2F
Output for 4.4.8
5C877EF4-2A53-D702-6C0F-4B746A9DD1FD
Output for 4.4.7
14EA80F5-FC61-3C1B-D913-135685D6EB78
Output for 4.4.6
1729256C-9134-E290-9139-4E51E4FBB752
Output for 4.4.5
A3B11E17-68D5-B461-BF18-59401048978A
Output for 4.4.4
33B6D142-E0BD-9CF7-EC5A-FA4D71B88624
Output for 4.4.3
A0B0C054-978E-8C63-EE62-E8503F710D45
Output for 4.4.2
8F8DF205-C5CE-9A0A-31D8-08EFF4E65938
Output for 4.4.1
426F1DFF-04A2-70E2-6E66-9C5ECB110AE7
Output for 4.4.0
1F7F8D33-DAF4-A344-C02D-EA48BEB63762
Output for 4.3.11
8E8D00D0-A621-D6DF-55AD-D74DE432E906
Output for 4.3.10
22EFF212-26D1-F36B-BDB8-8304A1E019F8
Output for 4.3.9
BB7B39C9-E118-4803-83EB-A9738FFF83A9
Output for 4.3.8
C3DDE256-12CE-A7D1-D4A0-F133A3A210BB
Output for 4.3.7
C11A0F17-3D25-C87F-689A-AF5DFFF29341
Output for 4.3.6
470A35B8-186B-3809-837B-473D762D648C
Output for 4.3.5
46D77461-F7C1-7105-13BE-58FC311ED1A9
Output for 4.3.4
84B0E991-3B65-00D0-139D-C5C848AD19FE
Output for 4.3.3
700CF1B0-D787-A909-1724-E4CCA0933921
Output for 4.3.2
C7867CB9-1D48-C3FD-B457-F56DDBF20B00
Output for 4.3.1
873F245B-D333-5E1B-F204-BE05B15EE23A
Output for 4.3.0
E0FE8C5C-5509-C244-3879-34996996073E