3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $uuid = 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) ); $packedUuid = pack('H*', $uuid); echo $uuid . PHP_EOL; echo $packedUuid . PHP_EOL;
Output for 7.1.7
3042884ff5a84172a57ef11b41b5b37d 0B�O��Ar�~�A��}
Output for 7.1.6
8b54617bd30b49698afaa53a1a62e907 �Ta{� Ii���:b�
Output for 7.1.5
53eb2a38e85a484cab1aa45f036ffe23 S�*8�ZHL��_o�#
Output for 7.1.0
1489fadd7431414a9865a23ae3b3e898 ���t1AJ�e�:��
Output for 7.0.20
e6bc8750a306473f9210d7858defd4fa 漇P�G?�ׅ���
Output for 7.0.14
f8964aecd1824dce99f09d6a5d865410 ��J�тMΙ�j]�T
Output for 7.0.7
9762d47f449440608c7ba23acbdb389c �b�D�@`�{�:��8�
Output for 7.0.6
1a982318ea4b491a81990ddc826438c3 �#�KI�� ܂d8�
Output for 7.0.5
0582ac1c7a2d48cbb5c75910053773e1 ��z-H˵�Y7s�
Output for 7.0.4
f3c73763d19f44758a03d8f084e5834e ��7cџDu����N
Output for 7.0.3
d544bf016bc54c2b92d98aaa1d4e0eb5 �D�k�L+�ي�N�
Output for 7.0.2
d25ff27422fd4bdda6135eb3efac2389 �_�t"�Kݦ^��#�
Output for 7.0.1
9e6341e3cb0749dbb87fd12a595c166c �cA��I۸�*Y\l
Output for 7.0.0
21cf27dafbf6466298811da9357a34b6 !�'��Fb���5z4�
Output for 5.6.28
2f6023219f344376a86101c30396564b /`#!�4Cv�a��VK
Output for 5.6.21
57aab515941b4bc1a5982f798e639d0e W���K���/y�c�
Output for 5.6.20
0d57861134ca40fbb40a36fd1790e1f7 W�4�@�� 6���
Output for 5.6.19
719a0eb775f848b1b0b76a22911472bd q��u�H���j"�r�
Output for 5.6.18
39172fee43b2411d8926beaef4f56eb9 9/�C�A�&���n�
Output for 5.6.17
c8cc2df9ab3c433abf19f3234387e517 ��-��<C:��#C��
Output for 5.6.16
a38494f82965420e95420209fd8ac7cb ����)eB�B ����
Output for 5.6.15
17146573d4af4632aedf2a09f9793e65 esԯF2��* �y>e
Output for 5.6.14
906d69df481f43d1b7d001540e50301d �mi�HCѷ�TP0
Output for 5.6.13
276fce865b214efd8f3a7ad03af8f1e2 'oΆ[!N��:z�:���
Output for 5.6.12
fd27b5d20a25426595acf49faf198c55 �'�� %Be����U
Output for 5.6.11
e85205f0248e46bc95be403e65482bc1 �R�$�F���@>eH+�
Output for 5.6.10
8f09d5b41c3b46c3b41a2afee6ce9c31 � մ;Fô*��Μ1
Output for 5.6.9
05701d9803fa4eb985a6c65d38e72245 p��N����]8�"E
Output for 5.6.8
f4700d14324c4080a98ed6c3b5fafeae �p 2L@����õ���
Output for 5.6.7
c697321dc9cc44799ea49d237e77d780 Ɨ2��Dy���#~w׀
Output for 5.5.35
f987022c8bda47d1ae97ef617f56820a ��,��GѮ��aV�
Output for 5.5.34
c88c363b3a0040d2b27fd6f157c87ae2 Ȍ6;:@Ҳ��W�z�
Output for 5.5.33
1795300f4e6f4930a343a7254d0200ca �0NoI0�C�%M�
Output for 5.5.32
9c31e72f73d147efb722b507d47dcc98 �1�/s�G�"��}̘
Output for 5.5.31
fa0aa15373464009a4ffd7ff95d0f181 � �SsF@ ������
Output for 5.5.30
9938f70afecf44cfba98f45050a6cd31 �8� ��DϺ��PP��1
Output for 5.5.29
e67f3d2653b04b56b8c332231dcb8362 �=&S�KV��2#˃b
Output for 5.5.28
6b08c9b220854b7e8989776c118dea95 kɲ �K~��wl��
Output for 5.5.27
e6f3f11a49f94b0c9c251489ddd5663e ���I�K �%���f>
Output for 5.5.26
cd0a14a2a4aa400b9642f08509a3de91 � ���@ �B� �ޑ
Output for 5.5.25
9b8bd77ef5794341a561099f89fe2ae5 ���~�yCA�a ���*�
Output for 5.5.24
f3ba1b329e0d4c6c88f53c15870a8ce3 �2� Ll��<� ��
Output for 5.4.45
edbe83bfa32f4c3d835be158b7f51d83 ���/L=�[�X���
Output for 5.4.44
3f5ac7e11c0a4a669c57b034af5a60fc ?Z�� Jf�W�4�Z`�
Output for 5.4.43
d843f6d613804b918ad72dc8e5ccf24b �C���K���-����K
Output for 5.4.42
30dfa490558f48d7868aad78ab83d374 0ߤ�U�H׆��x���t
Output for 5.4.41
ffe4c6f66c58450bb8da7dc4b84ec569 ���lXE ��}ĸN�i
Output for 5.4.40
373bd46767fc4fe98bcaf0dec9c5d8c0 7;�gg�O�������
Output for 5.4.39
618720b1806d4e05b6acf593dea45f23 a� ��mN����ޤ_#
Output for 5.4.38
5352af1ebf5e453aab5b3d9108573541 SR��^E:�[=�W5A
Output for 5.4.37
6314d80a520b431ca8f7cd92326be130 c� R C��͒2k�0
Output for 5.4.36
6092e9e722814448904a56a8ee114416 `���"�DH�JV��D
Output for 5.4.35
df1c8223fa9840fda03b49f7136f387f ��#��@��;I�o8
Output for 5.4.34
18e7c764c08843238992157f0ec633fb ��d��C#���3�
Output for 5.4.32
7b08e2677dfa43f393d5e90bf23ae778 {�g}�C��� �:�x
Output for 5.4.31
d30356f4ffb24791919c1562b5e7c31d �V�G���b���
Output for 5.4.30
85a6976c4bb34a47953f7a189b327d19 ���lK�JG�?z�2}
Output for 5.4.29
9547775d3f8c4174b9129f17b0480b0a �Gw]?�At���H
Output for 5.4.28
de8ff1b73fac4d708c771355de2fb58f ޏ�?�Mp�wU�/��
Output for 5.4.27
3e19c5fdf8f647888ffe57be0812647f >���G���W�d
Output for 5.4.26
588cb0c9e6c24f49885ed10376b0a263 X�����OI�^�v��c
Output for 5.4.25
de6f1ec1d8c4428091ee227b874078e4 �o���B���"{�@x�
Output for 5.4.24
e527a85b978d431ea526c54fec4f648c �'�[��C�&�O�Od�
Output for 5.4.23
ccbf36db7b134a8cb17ad784fc3a393c ̿6�{J��zׄ�:9<
Output for 5.4.22
286c3bbde863429391b34128cd5a366f (l;��cB���A(�Z6o
Output for 5.4.21
fd693822ca49401b810250975ca36dc8 �i8"�I@�P�\�m�
Output for 5.4.20
6432c45245e643bc92d2441bd8ed1512 d2�RE�C���D��
Output for 5.4.19
136b75c8286c450791ac1ecc3ee4e6c7 ku�(lE���>���
Output for 5.4.18
ac67fe05b9944473854b302d3de8b560 �g���Ds�K0-=�`
Output for 5.4.17
44bf44fa30d444b58617bab16ac348ce D�D�0�D����j�H�
Output for 5.4.16
4a736db01f8a48c5a4454ad5339e3e48 Jsm��HŤEJ�3�>H
Output for 5.4.15
3a5bddd27078471ab6e52877852d110a :[��pxG��(w�-
Output for 5.4.14
ef716f1bf2e4450e8ddba3ed7a7d1e5e �qo��E�ۣ�z}^
Output for 5.4.13
69d8e3268bc644a6a2060f45e169c917 i��&��D��E�i�
Output for 5.4.12
24ff8029c2324680916d5e752d93aa64 $��)�2F��m^u-��d
Output for 5.4.11
528fd5e90a2d45a6a6939a6c42c543a0 R��� -E����lB�C�
Output for 5.4.10
cc0c3b0734094f3bb21de286aa3c106b � ;4 O;�↪<k
Output for 5.4.9
a9f20366c64142db9943fc98afcc9864 ��f�ABۙC���̘d
Output for 5.4.8
3222d9f923744b3e8ec1fae2b9c1a729 2"�#tK>�����)
Output for 5.4.7
9a2ca858e98b4763ba8ea3a339190cc2 �,�X�Gc����9 �
Output for 5.4.6
a257cc66b81041f39268eaff271e68bc �W�f�A�h�'h�
Output for 5.4.5
87118a5374bf4b6fa8f2c11e8e488202 ��St�Ko���H�
Output for 5.4.4
0bd1d824e54c4dad83cce754b6ec78a3 ��$�LM����T��x�
Output for 5.4.3
f74bd6c9666f425fb1923241e1c12fbf �K��foB_��2A�/�
Output for 5.4.2
1cfd57be11204644828930b870c2b822 �W� FD��0�p¸"
Output for 5.4.1
5045182ebd2442718c19e4f5dd98b234 PE.�$Bq��ݘ�4
Output for 5.4.0
1cc60d1fdd514ab09f30e273565a336d � �QJ��0�sVZ3m
Output for 5.3.29
7fda2e20795342c3ae91a1d45ab2d78c �. ySBî���Z�׌
Output for 5.3.28
16758a48dfb447cca914388584b79026 u�HߴG̩8����&
Output for 5.3.27
e531bc11cb0f41a3be13dba67a4a7da2 �1��A��ۦzJ}�
Output for 5.3.26
9301d785e1514479ad03c11c49bdcbb0 �ׅ�QDy��I�˰
Output for 5.3.25
92afbf32c8744a539df5cfdda782a089 ���2�tJS���ݧ���
Output for 5.3.24
6d347c7c48e24f6980c0eed13dd9c88d m4||H�Oi����=�ȍ
Output for 5.3.23
c52861d3996b40888a4cc28d4a12c1db �(aәk@��LJ��
Output for 5.3.22
a992e16f4a61483a9d94e5ffef15b234 ���oJaH:�����4
Output for 5.3.21
a4254e4b03694f18bf8ce3cb91ecdf84 �%NKiO���ˑ�߄
Output for 5.3.20
fb49bf6726604725a4be74b2dc20083a �I�g&`G%��t�� :
Output for 5.3.19
251910d39b95460aa74a0dc3db1df340 %ӛ�F �J ���@
Output for 5.3.18
ed713b7aebae406b89d1ffc1bf2f1824 �q;z�@k����/$
Output for 5.3.17
43d69f3cb7de409d93acc43170e3559d C֟<��@����1p�U�
Output for 5.3.16
f0f77df63ed5481cb0eb0748eef854d2 �}�>�H��H�T�
Output for 5.3.15
059bd53526ea4cb389e9200b525f8721 ��5&�L��� R_�!
Output for 5.3.14
0ad58372dfc744249eb2fea8354e6235 Ճr��D$����5Nb5
Output for 5.3.13
64c603f8af184cc499ca154340810eb7 d���Lę�C@��
Output for 5.3.12
958296886e024d818ba9e1dd8f480d5c ����nM����ݏH \
Output for 5.3.11
8e924853de35443cbab392c639062ea6 ��HS�5D<����9.�
Output for 5.3.10
aa588bb011e04448b0fdbf15efd099ad �X���DH�����
Output for 5.3.9
09f003a2fb0b4888bf8c5a74dd3224ea ��� H���Zt�2$�
Output for 5.3.8
a09cf3f7f63c475c80c28b0ee268e27d ���<G\�‹�h�}
Output for 5.3.7
62b88de64720436ba8ff6cb46eee20b8 b���G Ck��l�n� �
Output for 5.3.6
9b833229457b4b93a56c6a02195a8e71 ��2)E{K��ljZ�q
Output for 5.3.5
7e1a1c2218ea4df889883be48e60c356 ~"�M���;�`�V
Output for 5.3.4
b5b6a138f3ba434a92e23d293b88c25e ���8�CJ��=);��^
Output for 5.3.3
c6c77e5561c544b0b13cf32371b99e3b ��~Ua�D��<�#q��;
Output for 5.3.2
58efd6f2b96c40d1a7d075656d810626 X���l@ѧ�uem�&
Output for 5.3.1
78f030220c334bbc9256863f4b91ee47 x�0" 3K��V�?K��G
Output for 5.3.0
9ee1a8b5e4724a91b823dcaaaf507f96 �ᨵ�rJ��#ܪ�P�
Output for 5.2.17
a014f1680ea54dc2af7a3691bfbd31a6 ��h�M¯z6���1�
Output for 5.2.16
09ef1f4da75042efad78ac698bb15702 �M�PB�x�i��W
Output for 5.2.15
c7022405444a438a9b0dba8bca7bbcfb �$DJC�� ���{��
Output for 5.2.14
037dfc292ff9462f9be4467eae7769e8 }�)/�F/��F~�wi�
Output for 5.2.13
4ea6847cdbfc42418cc9165ea2a8056c N��|�BA��^��l
Output for 5.2.12
80e715959978459bbd4365675c9120b0 ����xE��Ceg\� �
Output for 5.2.11
a0ef8a87e2ed4f69b4ec810bacab71e8 ���Oi�� ��q�
Output for 5.2.10
98a9a4e4bc6b4c83a11d9269d479c253 ����kL���i�y�S
Output for 5.2.9
b9347fa6c0564c079f995f27de3238b9 �4��VL��_'�28�
Output for 5.2.8
fe67a4b9206e4cb7a1c692719956a17e �g�� nL��ƒq�V�~
Output for 5.2.7
933e5b8779a84f12a575b66aca74c640 �>[�y�O�u�j�t�@
Output for 5.2.6
9531e456909040c4aec32c8c17d96bfd �1�V��@Į�,��k�
Output for 5.2.5
1def73a39e394b199e4a3143e91a8388 �s��9K�J1C���
Output for 5.2.4
4e45c6b3385647da90af047e21360193 NEƳ8VGڐ�~!6�
Output for 5.2.3
db6c36ea6f86435eaf192a5913157437 �l6�o�C^�*Yt7
Output for 5.2.2
0ac5ad22dd384872a57a9f1a9404e768 ŭ"�8Hr�z���h
Output for 5.2.1
acd9b2ad293545048dcef74e4872dc62 �ٲ�)5E��NHr�b
Output for 5.2.0
0e42127a6d724d98b9b5747a6f71c864 BzmrM���tzoq�d
Output for 5.1.6
6ac17225f73644449f44edb33674c760 j�r%�6DD�D�6t�`
Output for 5.1.5
e3ba9cd96ddb43eda212de5e51bc1bc5 㺜�m�C��^Q��
Output for 5.1.4
32cf2f85dec34bf88020b0406fa82686 2�/���K�� �@o�&�
Output for 5.1.3
12ad410f6eca4398876978ce6be2ae35 �An�C��ix�k�5
Output for 5.1.2
8635ae7fd804459bb61da58f228341b6 �5��E����"�A�
Output for 5.1.1
2dc150938808473b911a4e21a2320aed -�P��G;�N!�2 �
Output for 5.1.0
7925203cf43d4f878d351277ef106ecf y% <�=O��5w�n�
Output for 5.0.5
f29981359cab4e4d9a1047ca3a235d0b �5��NM�G�:#]
Output for 5.0.4
86a2e11103f64ff797f680fa11acc8c4 ����O��������
Output for 5.0.3
c30992f570cf4b2fb9cc2bc8f5db5cd2 � ��p�K/��+��\�
Output for 5.0.2
bff796f04849449e9ee5eb72ca931355 ����HID����rʓU
Output for 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 6f3bc62562b34abf8c1b9a565250cfb8PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 o;�%b�J���VRPϸPHP_EOL
Output for 5.0.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 4e7161fb9d17474585113102ada78f85PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 Nqa��GE�1����PHP_EOL
Output for 4.4.9
ee2f02f6903f464890bbc90fb92cb29c �/��?FH����,��
Output for 4.4.8
c0aca8a410e04fefa7e3b6180079a19d �����O��y��
Output for 4.4.7
1a4e11a9a4cd4107a1f0dc375b21311b N���A���7[!1
Output for 4.4.6
7515fd4455164d70bec66f2697c841b5 u�DUMp��o&��A�
Output for 4.4.5
47f6efe609894324b5ec4154c723ffda G��� �C$��AT�#��
Output for 4.4.4
b80a253d275b4e4185f4ef1f3ba8de05 � %='[NA���;��
Output for 4.4.3
eef74494684243d88b1edddc82e4da7a �D�hBC؋�܂��z
Output for 4.4.2
6c32ae479af74a9c87a898d8a6e37815 l2�G��J����ئ�x
Output for 4.4.1
b315ba804cf149cd89d49dc6b4544d4d ���L�I͉ԝƴTMM
Output for 4.4.0
ce3c66b727fa44d89a3990ec46e5a6a9 �<f�'�Dؚ9��F妩
Output for 4.3.11
8d103c36d7134413be2efc76f56ffaa0 �<6�D�.�v�o��
Output for 4.3.10
fe1d4600b2a14630a16b3ce3df722d42 �F��F0�k<��r-B
Output for 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 0c4210fa70e9498bb4d318e2d1b5bfbcPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 B�p�I����ѵ��PHP_EOL
Output for 4.3.8
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 303e0afbaae2410faeda9cc8042de4c1PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 0> ���A�ڜ�-�PHP_EOL
Output for 4.3.7
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 3a41b700cdc0452daa2b4a4053784eb2PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 :A��E-�+J@SxN�PHP_EOL
Output for 4.3.6
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 ef4e8e45c7584cbbae88c3071ffb26f4PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 �N�E�XL�����&�PHP_EOL
Output for 4.3.5
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 fe50fc6c22144c348e734881a4f18826PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 �P�l"L4�sH���&PHP_EOL
Output for 4.3.4
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 cf16f8b1a90846fba554232a198b62e8PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 ����F��T#*�b�PHP_EOL
Output for 4.3.3
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 be1b84fad0d84450bb8a7a6fd41e4950PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 �����DP��zo�IPPHP_EOL
Output for 4.3.2
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 61a107e3f3134a9791552904ca7472a8PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 a���J��U)�tr�PHP_EOL
Output for 4.3.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 84b5ed89197644e49b8b91f7acead718PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 ���vD䛋�����PHP_EOL
Output for 4.3.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 22 7abf1a96f777401e8fb9825ea6f8405bPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/1KV3K on line 23 z���w@���^��@[PHP_EOL