3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', // 32 bits for "time_low" mt_rand(0, 0xffff), mt_rand(0, 0xffff), // 16 bits for "time_mid" mt_rand(0, 0xffff), // 16 bits for "time_hi_and_version", // four most significant bits holds version number 4 mt_rand(0, 0x0fff) | 0x4000, // 16 bits, 8 bits for "clk_seq_hi_res", // 8 bits for "clk_seq_low", // two most significant bits holds zero and one for variant DCE1.1 mt_rand(0, 0x3fff) | 0x8000, // 48 bits for "node" mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff) );
Output for 7.1.0
f4b62da0-2987-443c-9b1a-92979d24f606
Output for 7.0.14
5bdc0b52-756a-4b3c-afec-27bab7d4b0db
Output for 7.0.6
8128f0df-d090-44d8-b17d-fd1ebd11e9d5
Output for 7.0.5
ffca426a-6349-4e33-836a-3eb307bd4b08
Output for 7.0.4
f55c9590-743d-4446-bdfd-0f0bec004377
Output for 7.0.3
9471881d-a404-45c2-9bfe-ce1a87573354
Output for 7.0.2
f1329679-a8db-4e9e-bb07-b0f28d648d84
Output for 7.0.1
acc47e3f-d822-49b6-a85c-051bcd111c89
Output for 7.0.0
965a2b44-a5ab-4dce-9a87-616b57d7ec35
Output for 5.6.28
87eb9955-a0af-4bbd-b9b6-f741296407c3
Output for 5.6.21
ebfa3a9f-253a-482f-bb9c-7458d7e7186f
Output for 5.6.20
4a55a16d-82ed-4ce1-b374-b79adfd64d6c
Output for 5.6.19
2b20511d-d885-48df-9bdf-d96b4bca3cfd
Output for 5.6.18
8bd94113-2d75-4bdd-abcc-721e95ee658b
Output for 5.6.17
5dd43c5e-3a95-4426-9d02-37a38ea71bb9
Output for 5.6.16
0e370503-9c94-4e72-89eb-a7d09c9889ea
Output for 5.6.15
bbf5748c-8bf3-4938-af0f-5af7497b5bf7
Output for 5.6.14
6dd40a82-0cfd-46de-8871-b660c38e23f0
Output for 5.6.13
9ec0e9ad-0355-4e56-b244-d5c9960e2f58
Output for 5.6.12
942e9f6c-7eda-4fbd-8c9b-58e57f49b7ed
Output for 5.6.11
3b02243a-d0ed-49ad-8e42-297daa54f940
Output for 5.6.10
cce05d5a-c5eb-405e-b908-dc6fb8ffd4ad
Output for 5.6.9
98f19864-efa2-4568-8292-db8368cb532e
Output for 5.6.8
128265f4-d343-4d19-8512-bfd856ac3be6
Output for 5.6.7
69387a6a-141c-491d-8f75-94242eb3dceb
Output for 5.5.35
fbd67974-9fe0-4738-9c64-3dcede548003
Output for 5.5.34
0abf7733-1900-4ba0-a42b-827966320d4f
Output for 5.5.33
df184ce0-f085-4dd2-9ffb-4d663e9a9801
Output for 5.5.32
3bfbe90c-49ab-42a5-845c-9e4a02afd6ec
Output for 5.5.31
539836d6-7382-4b0e-a6e2-599d493bc886
Output for 5.5.30
39368082-f2d1-4e1d-bf1d-844e0f34eaa7
Output for 5.5.29
f29b4833-f3fe-457b-81bb-0bd191b8324d
Output for 5.5.28
537a4062-ab9d-4207-98f1-7939cccf094d
Output for 5.5.27
6292c3c4-cab0-4e47-b960-51162bf9b685
Output for 5.5.26
3df9329c-6a3a-4374-b4f9-2ef774a915e7
Output for 5.5.25
aedc576e-bdc8-4347-819d-319dac2d1c9a
Output for 5.5.24
da791e9d-3224-4f65-b07a-09ac1edbbf7e
Output for 5.4.45
9b4b6d35-f1dd-423f-bcc3-f499da555119
Output for 5.4.44
d6143e8f-9387-4567-8116-bb475ca85040
Output for 5.4.43
9e5a62e3-c941-4ee1-923a-3db8cf6b7785
Output for 5.4.42
04a39f2c-5c42-49b5-9f67-a93d447f43b0
Output for 5.4.41
5b88ec9e-ef31-40ba-9beb-a7d713f97ae0
Output for 5.4.40
99d49129-67e3-4f8a-b0b1-4e6d56ed483f
Output for 5.4.39
afdda278-7612-4438-9917-c463fe64d896
Output for 5.4.38
4dd056c2-2bec-4295-9cbb-449c5cbe368d
Output for 5.4.37
145d1a3e-84f6-4455-adcb-a858275b3758
Output for 5.4.36
89cfbaa4-9f4c-47ab-a5b7-ee7192fe86f6
Output for 5.4.35
e18760db-5625-4e16-8b4f-042a40ddd115
Output for 5.4.34
e1d506e1-fe5b-4279-be08-81166d05b81d
Output for 5.4.32
2a34039e-7d81-46d0-a519-74b66b00e631
Output for 5.4.31
7f7ea7ee-b58a-4bea-9c7f-d104078810df
Output for 5.4.30
aaa2e9a0-9daa-42b2-8473-6571bfcde181
Output for 5.4.29
e9944447-080f-4914-a662-f43c53bce9dc
Output for 5.4.28
57c4637c-532b-4b98-a87e-c159a2da9aff
Output for 5.4.27
2ef096d1-405c-4e7b-bcdd-4cabca6dbd70
Output for 5.4.26
2e6720a6-24fb-4aef-a29e-b68daa3929d5
Output for 5.4.25
29eeb389-b152-4901-b1b6-41c9403886b2
Output for 5.4.24
226e9b79-b5a3-4ef3-b626-acfd8afbddeb
Output for 5.4.23
26c2bc54-def8-4940-8b6f-92316dfe68cd
Output for 5.4.22
831a2055-180a-4056-80ca-db4ee7e97e49
Output for 5.4.21
60ac0b57-548a-4636-8028-25fcfd31b684
Output for 5.4.20
29e77c9e-2375-452d-bc06-259da24d303a
Output for 5.4.19
9a208157-3ae2-4d0a-b52f-61c1e6761349
Output for 5.4.18
b5d78b95-e901-4dc8-ac90-63e9b3facd3e
Output for 5.4.17
4a9f0411-fb69-4d3b-a3dd-d6e79a97ad4d
Output for 5.4.16
498bb404-cb7d-42dd-b767-71bb80c741cf
Output for 5.4.15
43bc74c6-30d5-4e55-a9c0-1c4732457750
Output for 5.4.14
2c94c878-9bf2-4e8f-9228-85711c5379bc
Output for 5.4.13
be54da6b-7e60-4e25-8407-adefee976d86
Output for 5.4.12
3aab8b31-ef5c-479c-bc99-a8b05aec08c9
Output for 5.4.11
90a1ccc1-2b72-4b8a-b04a-8621749b3901
Output for 5.4.10
1c82999f-3a07-4336-9532-d35a8094a481
Output for 5.4.9
9bf8f0fd-edc8-487f-a3b0-92200aa7ad64
Output for 5.4.8
0f6a5b04-66a4-422c-8bc6-3df869f07c1d
Output for 5.4.7
bc54cf74-56ef-4c86-803d-aebf7daff439
Output for 5.4.6
a54ed30e-150c-44d8-88d1-6a434f75d8c1
Output for 5.4.5
7c6f10b5-1bae-42cd-b7f3-8e99141b81a6
Output for 5.4.4
879c23fb-8d34-4efd-977c-d8287fb70578
Output for 5.4.3
cf4872f5-0f33-4133-bb23-0b3be4695a64
Output for 5.4.2
b9b9c51a-2042-4875-b883-174e542ab38c
Output for 5.4.1
367a2ce4-20ab-4934-8a95-714fa542dd88
Output for 5.4.0
fc7e32b4-2707-4e1b-a955-572a344af8ba
Output for 5.3.29
c9578b72-e878-434c-9696-45f8da0efe35
Output for 5.3.28
e066b7ee-5234-41a6-973d-5a837c160962
Output for 5.3.27
c374c482-4b5b-4f17-8a9e-c0e2de4bd324
Output for 5.3.26
3219b786-00a7-4e9a-b1a3-554044e5b78b
Output for 5.3.25
a33daf97-ad6b-4dc4-b3d1-8cf1ec967e58
Output for 5.3.24
27d6e871-fd38-4ba0-9665-d35367c8c4f8
Output for 5.3.23
5989bf7d-2840-4c1d-98c3-585d5d83bf53
Output for 5.3.22
b8a5ffe4-9bab-48ec-b990-d364c574376e
Output for 5.3.21
0496a3ea-ab23-4b7a-a1be-5b178606f6c8
Output for 5.3.20
d1d873d3-ccb5-4f7f-88b6-1f73eb00ab20
Output for 5.3.19
1ca7358b-d6d4-487a-833b-9497912c1ffb
Output for 5.3.18
00c10d3d-5af5-4e49-a303-ce3f56844066
Output for 5.3.17
1df77643-0297-40ce-a906-4f3d1ac38cfe
Output for 5.3.16
039ddff9-3b65-4328-88d1-33f2f17fc118
Output for 5.3.15
f77042d9-29e8-45e7-a31d-86d72853e7ec
Output for 5.3.14
30572645-5c15-459f-aa0a-f9c16748ab26
Output for 5.3.13
0159d53b-025c-4051-95d0-28f31ca44718
Output for 5.3.12
8ac2ba80-0959-4e26-b8be-30589419fc60
Output for 5.3.11
559c0f3c-fa55-4764-9bfe-97a9f7892695
Output for 5.3.10
14b2e67a-8c39-4c8d-910d-32989abd2f67
Output for 5.3.9
e2eb6875-5ead-40c9-b92a-89b4a5f0458d
Output for 5.3.8
e9c2b59c-8aa6-44a6-aba7-ff67205a9f75
Output for 5.3.7
05a28af5-7739-4b5a-b379-047ef0e6dba1
Output for 5.3.6
26c0e2a8-a5a5-479b-95f0-7d1340daa85a
Output for 5.3.5
7174bc0e-6347-428e-9fd0-96c559ea5cdd
Output for 5.3.4
3c0c9291-ea1a-4994-bd95-148f62c155c5
Output for 5.3.3
aa8eb5ce-6891-4ad4-8928-de3150350e8f
Output for 5.3.2
ca608d26-5373-4ffd-a485-bde90da619c8
Output for 5.3.1
41448f63-cc90-412f-bab5-30c79e01360b
Output for 5.3.0
ccba6a1f-e792-4fd2-929f-cf0946b0c717
Output for 5.2.17
600ef6cf-9ee5-4748-9552-2e7c5be3c87c
Output for 5.2.16
2fea3e16-ba4b-4e44-b9e4-7a67434e32f5
Output for 5.2.15
a6370de9-4d38-4546-a260-181b15b3af0a
Output for 5.2.14
04ccccbf-bd9d-4971-a97f-394161848bf1
Output for 5.2.13
c5928b59-b83b-4ac1-959a-495d3420bec8
Output for 5.2.12
83b11b66-d66f-4425-8588-df5f145cd3c7
Output for 5.2.11
154f63c7-1bc4-4b83-bf21-d67169622447
Output for 5.2.10
e023b186-4d47-4658-ba26-ee750a0538e3
Output for 5.2.9
e2705c0c-9cf0-419b-8dc8-bf364bcd4cf5
Output for 5.2.8
19ac63db-88cf-4261-b908-f12bbccb31ae
Output for 5.2.7
3a649e97-e5f6-4ec3-aa8f-f6e0732206a1
Output for 5.2.6
a1935456-4ba0-40b6-bace-ab153d4adc85
Output for 5.2.5
7baf3651-c24c-4602-aaf2-b533450df1df
Output for 5.2.4
c72372c5-485e-4488-9ab4-0a614da0de10
Output for 5.2.3
bd097e6c-ee15-4dc2-92df-73767ea9def4
Output for 5.2.2
beea6c32-fe11-4da3-8fa9-12b258e1dce1
Output for 5.2.1
0ce3b5f5-05ea-4f82-981c-1a4ce39fd86e
Output for 5.2.0
d635b1a0-c09d-4d46-a5cd-76a48b4a5dc8
Output for 5.1.6
1ae8be7f-36b3-4aea-9949-e42c4df1c334
Output for 5.1.5
1b4f33ba-60cb-4119-b164-b291d81e6597
Output for 5.1.4
0b3018dc-80b0-4b64-8d69-6a165b1a307a
Output for 5.1.3
0b492590-8b0e-4231-a6c6-439f9543b040
Output for 5.1.2
7cb616ec-1257-46b0-b54a-edbdcbabb236
Output for 5.1.1
6dded0f4-06c9-4957-8096-cc6b116e2544
Output for 5.1.0
e0e153bf-37c8-4846-b184-81b58d4436ff
Output for 5.0.5
c70a71df-91a1-4bcc-b3e0-857a6d0b017d
Output for 5.0.4
e17d577f-d3d8-474f-b068-2fd890428c88
Output for 5.0.3
bb183053-5fb8-4d6f-8dbe-124a9fa6faa2
Output for 5.0.2
fd53dd32-8473-483e-a3ab-3b62095f1716
Output for 5.0.1
860adccd-c027-441e-9e97-eb0748dafa3e
Output for 5.0.0
27be14bc-bd72-436c-a5a1-baa79f055a40
Output for 4.4.9
15eddba8-d70a-4424-b6e1-106810da2cc6
Output for 4.4.8
a511bcf3-d23d-40c8-9635-d51673c5760a
Output for 4.4.7
b9c0a64d-5842-4b44-9ccd-0badc0a6f5ff
Output for 4.4.6
cbaa0e47-6c49-4156-b966-ffbdb93395c2
Output for 4.4.5
8ba40317-17a7-42ba-ac8b-e587b1e8443b
Output for 4.4.4
a55bccbd-983b-4cbc-bc4b-8bbb11fe5640
Output for 4.4.3
6725dab2-e515-4160-b714-bdaefe4e2921
Output for 4.4.2
7a55d2ec-4af6-4d54-839f-84bfda96d9a2
Output for 4.4.1
2b5cfb63-1a9b-471f-ae5a-a3d2effe4519
Output for 4.4.0
f593213c-e795-4e67-ae27-272ab6aa3b47
Output for 4.3.11
6406a7db-6835-4856-bd18-e63dfada9426
Output for 4.3.10
d96e500a-08cc-412b-bbdf-cd3768d01ddf
Output for 4.3.9
1782bde1-57df-4308-8396-d11ca67b8ee6
Output for 4.3.8
0c157c98-ec0d-4e0b-858d-b0a7735f86c1
Output for 4.3.7
a77e1b90-53b5-4b50-9cc8-a67ce7d28350
Output for 4.3.6
c80297cb-b63e-43fe-97fa-5815dcfb275a
Output for 4.3.5
a4443971-878b-4765-be48-17bd8c67783d
Output for 4.3.4
d9dfe87d-c5ab-4807-b082-65c3125b4305
Output for 4.3.3
4cbe763a-3242-41a5-ad28-bfc41b6197bc
Output for 4.3.2
89b1a125-b7d6-4ce5-bc5e-7c9937cd04ed
Output for 4.3.1
c4a74c3f-c7c6-4bf5-927e-5394a3e2d542
Output for 4.3.0
34f200a7-3dc9-47f8-93d0-a1e76863f913