3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (is_int(0x7FFFFFFF + 1)) { function foo() { return sprintf( "%15x%01x", mt_rand(0, 0xFFFFFFFFFFFFFFF), mt_rand(0, 0xF) ); } } else { function foo() { return sprintf( "%07x%07x%02x", mt_rand(0, 0xFFFFFFF), mt_rand(0, 0xFFFFFFF), mt_rand(0, 0xFF) ); } } foreach (range(1, 5) as $i) { echo foo(), "\n"; }
based on gu1h0
Output for 7.1.0
aad1116a7d6741d4 9b75d9f83378133c 66c188f046712058 8c443afd970a5b62 2895cbf2fc01197f
Output for 7.0.14
e5acbf140000000b 1c4e62a800000004 29882b820000000a 5da16920000000c 80c88ea0000000e
Output for 7.0.6
1a735e4e00000008 34f29eb800000003 b585415400000004 1700172800000008 56fdd3d000000000
Output for 7.0.5
c0dfe88400000001 9e7ead9600000007 89ff8da20000000c bac4c96200000002 65f7973400000008
Output for 7.0.4
39ebdeac00000007 17779d7800000005 7ce0761a00000001 84b5b8e000000003 4c9db32600000008
Output for 7.0.3
48131d7000000005 fc5ce66800000006 6797db4000000002 e5782b6c0000000f 3d03ae4200000002
Output for 7.0.2
e84480c800000008 aa5b82400000005 f49fda80000000d 87db44900000000a 8326286e00000000
Output for 7.0.1
e1189ac0000000f 166a5dac00000002 cad303460000000f 88107ca200000002 7cc8fd680000000e
Output for 7.0.0
b898d0e40000000a 54e7d500000000f f2d3acc200000009 b4d4d1ae00000000 8ec18dd400000006
Output for hhvm-3.12.0
651a1b180000000c f68e43d000000005 55f5d49800000005 125dcd3e00000007 9230e8f800000004
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
9e5b4aae0000000c 6c3f2fb800000009 c549853600000003 63b740d40000000a 4c1094d40000000d
Output for 5.6.21
336bdfde00000001 627710e80000000c c33110f600000001 c9133a8a00000005 1ce065a40000000b
Output for 5.6.20
8f182d9e00000001 6fa632340000000e 38e156440000000c 9564ad5a0000000f e87998800000000e
Output for 5.6.19
bb29c0f40000000b 5f0973720000000d c9bba3ce00000008 ec59fe80000000c 7c8abe960000000b
Output for 5.6.18
b4c120e00000000d 45e7dc4200000006 1f69962600000008 a7b8defe00000001 27978a3a00000007
Output for 5.6.17
cbc1d9a000000003 d75d7ab000000009 d0e02e1000000002 3f75fe4800000006 97fb420600000008
Output for 5.6.16
8d7e43b60000000a d689f79e0000000d 770417ce00000002 b0d138380000000b a957ff6600000004
Output for 5.6.15
2c8c1a8800000003 7c39e30c00000002 2e296b500000000c 4f2c17360000000a 14c8080000000004
Output for 5.6.14
4c8c529e00000003 9f8c229600000001 fb9c33400000000c a1464bd000000005 aa7e7be600000003
Output for 5.6.13
cfa59f0c0000000e 7b6fa08800000005 f79ea75e00000005 f677e7a800000002 3079901600000006
Output for 5.6.12
5e6c8bc40000000f 83576a7e0000000d 2cba583400000002 262b650800000008 bc5d56fc0000000e
Output for 5.6.11
53a7f6fc0000000a cf4e56b800000002 c6b576b400000003 73f80b7c00000003 1888167a0000000c
Output for 5.6.10
b0e591c200000005 8f27c1400000000d 6be063fe0000000b 2f10bc800000001 67e40b920000000a
Output for 5.6.9
cebbf5d600000007 7fd984ac0000000c efe76a8200000009 e559474e0000000e f682357000000005
Output for 5.6.8
8b0ac1dc0000000f 21956de00000000c 1816101c0000000c 5a90c45600000008 ef8a3baa00000001
Output for 5.5.35
257de3060000000d e8eba7c20000000c 595f883400000002 ffff2a5800000000 dd0e062800000008
Output for 5.5.34
3d5b653e0000000f 2cb0d3c400000002 9c1ed96200000004 3703d88400000006 ff779e460000000d
Output for 5.5.33
367500000000f 105932960000000f 7fe7ea8c0000000a 928a08b800000006 ee4fba680000000b
Output for 5.5.32
3820f61e00000009 7025fb7400000007 40e7f2ec0000000a 7bb8e30c00000002 32c9cd240000000f
Output for 5.5.31
6803868200000004 4f87fab000000006 6026c2cc00000004 1b00c39e00000000 152f19d20000000d
Output for 5.5.30
b6f159540000000e 3bc86a4a00000006 9cca607e0000000e 63727e820000000e be5e516800000000
Output for 5.5.29
d357dc5800000000 ed1f9d6400000002 fe7d67020000000f f965894e00000006 7ca16d2000000003
Output for 5.5.28
cf63e08c00000007 42c997bc00000005 d334fcb00000000a fd0bddf40000000b 621a4c3e00000004
Output for 5.5.27
d19356b20000000d 5ac958de00000008 11c347a400000005 cdc5727c00000000 5ca6d58000000001
Output for 5.5.26
2448f8c80000000c 282c15e00000008 7d3eaae80000000b 10465bf00000000a f218110a00000004
Output for 5.5.25
424e029000000004 317c80c00000007 2dc1b00800000004 2b352f3400000008 32f56e2800000008
Output for 5.5.24
9807c95600000000 8dd9873000000002 73a2057800000006 510e25d800000004 64df518c0000000b
Output for 5.4.45
3a89c75c0000000c bea74de200000007 6d9692d200000000 ee575fdc00000007 c733144800000004
Output for 5.4.44
f622ab420000000e 42430eae00000002 3d52ed0c00000001 c9a971d600000003 efd5bac00000006
Output for 5.4.43
6f0824d800000004 668c05780000000c 3921dab800000002 1fca0f440000000a fd746f400000000f
Output for 5.4.42
447a797e00000002 1da1867a00000003 cc89e28200000002 83fa11e800000006 d29ebdf800000001
Output for 5.4.41
1daa2e00000002 5d6768b200000005 5fa0dd8000000002 353df2200000000e db85c6c400000007
Output for 5.4.40
fb0f6b8600000001 f720b2280000000b 67ce2e8c0000000d 876abed200000000 2466779800000000
Output for 5.4.39
453480f400000001 43c807c800000002 e38e239400000005 509dbfa600000009 bf5f04ea00000002
Output for 5.4.38
552aaf220000000a eaaf92800000005 860081920000000b e98dc85600000006 2ff559cc0000000e
Output for 5.4.37
e7ad4d5a00000003 58b1810200000007 233ad49200000002 f4f6271800000008 e321222c00000006
Output for 5.4.36
27346b7200000003 3b49929c00000008 f57fa2da0000000d 760ef7f600000001 c6e4b1a00000001
Output for 5.4.35
92ab50e0000000a b639c4e200000000 3efdcdc200000000 ec7223a0000000d ec87fa740000000f
Output for 5.4.34
965abda00000002 169f54160000000e 357bdc760000000a 86749ee800000005 73c9532e00000006
Output for 5.4.32
31550eac00000007 6a91275600000006 d33f188400000004 621b827200000002 d3eb55520000000f
Output for 5.4.31
3f65bf2600000005 4dabb22200000008 8473b08400000007 d15309ec00000002 314f25820000000b
Output for 5.4.30
adf6690a0000000e f5672e8200000007 7d7bd26800000007 4ea2e76a0000000c f29b99be00000006
Output for 5.4.29
667415e000000007 dd31c3d60000000e 5b8c9eea00000005 f9f9fb3c00000009 3e9bf3f40000000e
Output for 5.4.28
bed2962a0000000c f099b9800000006 36bca9c80000000c 77a9ca9400000009 37f2f9b200000007
Output for 5.4.27
ea15bb8a00000002 2e1c88e200000005 b73dd65e00000007 2cfe999a00000006 197895440000000f
Output for 5.4.26
286c70bc00000000 2eba988a0000000a fcaa04aa00000000 4cdf2fa000000001 e09d663e0000000a
Output for 5.4.25
ceef91f80000000b bf3fd7200000006 59cfc56000000009 66371ae80000000c a451d2c40000000d
Output for 5.4.24
d0dd375c00000009 16eb36320000000e de3981da00000000 5b75a2860000000b 1ab2d66800000007
Output for 5.4.23
5723b06c00000005 c85eb6ea0000000d d8a9e9b80000000a 89d2b19600000008 ac70c4940000000e
Output for 5.4.22
81a3d5fc0000000f 578b045600000001 e2611d2c00000000 7dbf56540000000b c73ce27e0000000c
Output for 5.4.21
682380ce0000000b c1bf6f020000000a 180ffc4a00000000 794e87060000000a e3f6e1d600000001
Output for 5.4.20
71c5257000000008 eda3c02800000000 15f48cc400000007 5897ea4e0000000c cff1ec1e00000003
Output for 5.4.19
24e676ec00000001 fc5b47e60000000b 1d656a400000000d ded6ff3e0000000d 5d8cf61c00000001
Output for 5.4.18
2efee43e0000000f 48ac202400000006 4404f44800000009 2860b7a00000002 52e9c71600000006
Output for 5.4.17
da8a719800000001 a80a091800000002 58e2427c0000000b 8a1b0a6e00000007 f95726e400000001
Output for 5.4.16
cf8c1e60000000b becd6d1e0000000f 2aacad1a00000009 257530360000000e 72de753000000002
Output for 5.4.15
da91558800000008 92972f5800000002 5afbf46e0000000a 22704dd40000000d 8ffc7c5200000008
Output for 5.4.14
3392b6780000000d 44430a2a0000000d e5a220c80000000b 2c85cf7000000002 880d503a00000000
Output for 5.4.13
f06977b80000000d 226275b80000000d 9af8e9960000000e 48a68db600000001 b4ed7ae80000000d
Output for 5.4.12
be024c00000004 6703a62400000004 a162790800000004 bd98f4ec0000000d 3c7f819e0000000b
Output for 5.4.11
1d2c709e00000004 374d34a200000005 36e2306c0000000d 2bc577a800000000 c9c07c7000000002
Output for 5.4.10
5e4db2ea00000009 4ef6ba0400000000 215632f600000008 262ebf5200000003 91c5cae000000008
Output for 5.4.9
31f4f5600000005 692e2d5400000003 7f80f2b00000000a 37dc66600000000 cdbd459e0000000f
Output for 5.4.8
a9760b9a0000000e 1df95c4200000008 8c94f45e0000000f f85ee0b40000000b 4f49802800000004
Output for 5.4.7
b944ef000000000 2aa577ae0000000b 9675ea400000006 df90763800000006 1d54940e00000003
Output for 5.4.6
dc205b9a00000008 86c7704000000003 f2b4d95a0000000a 6fa7613000000001 d7b7685e0000000d
Output for 5.4.5
999131fa00000000 84bf7b60000000b d41ad2060000000b 74fabeba00000006 6c2e371c0000000c
Output for 5.4.4
80d6d98a0000000f 3ee555940000000f d1fee5b800000006 7df8ddc80000000a 97a76ee800000005
Output for 5.4.3
49dbfa8a0000000c 76d35ea80000000c 7e8fa200000006 143e139a00000006 203e4c060000000a
Output for 5.4.2
5671c8640000000f 613b81a000000006 15cf6ab400000002 37b54b9e0000000f 787613d000000003
Output for 5.4.1
799de22a00000005 618e25c000000000 c197b8b400000009 3cf6ca7e00000006 c399939c00000004
Output for 5.4.0
4928d8000000000c d0d97bb40000000d b058cf140000000e 9b2a8bfa00000002 78194fda0000000f
Output for 5.3.29
a4e6dcde00000000 a6ab55840000000d f66f941400000009 c03e8c8800000004 d37177ca00000004
Output for 5.3.28
9e5d63080000000c 6b9867700000000e aeb576a0000000f 4e7615b600000003 ab95bd9600000001
Output for 5.3.27
a097b03a00000003 189eb2580000000f ac0104ea0000000d 9dd3055200000000 60589e40000000b
Output for 5.3.26
c46bd91600000009 66877cf200000002 dea543dc00000005 d62c9fd200000006 a8463dc400000007
Output for 5.3.25
e07a9a4600000000 ceac22c200000003 809dc9c600000001 c020909800000002 f080bc0a00000003
Output for 5.3.24
19c2380c00000000 cd97a3c60000000e 6151494800000001 75b100ba00000008 e05a7fc00000009
Output for 5.3.23
bc67484c0000000b b5bd5b4200000000 194f824000000007 adac93440000000a 6ee2a16000000002
Output for 5.3.22
392dbc920000000d c7e2dcea00000007 af40a25e00000000 763decd000000009 c4d3e88400000005
Output for 5.3.21
94353fce0000000e 91f7fe4c00000009 e001986600000002 b40368de00000007 df79dae00000007
Output for 5.3.20
436ada7200000009 cacea31600000002 6ff6968000000007 59d69f760000000b 46285d4e00000005
Output for 5.3.19
2fc94d740000000d 6b0b939a0000000f 64ea5c4c00000004 446b72f200000007 7db43ebc0000000e
Output for 5.3.18
c90215500000000a b0e2098e0000000b 1e17f85c00000006 d4bd359600000007 20346eaa00000005
Output for 5.3.17
6ad9b3c0000000c 3660296400000005 9a497c720000000f bb98ad8e00000001 177b724c00000001
Output for 5.3.16
b7148d2800000003 c4596b820000000b 77d235800000006 f34d88b600000001 4d3a78dc00000007
Output for 5.3.15
401fc7ee00000005 378a841800000005 9281e160000000d f33fdaf000000000 b410e94e00000000
Output for 5.3.14
8e4a6e40000000f b3244c7c00000004 7ad0dce600000006 98e6c12a0000000b c581432c00000007
Output for 5.3.13
3dd39ec00000000c a22993c60000000f 33cc209c0000000a 547e86920000000a 723c79e0000000c
Output for 5.3.12
cbc2847400000003 7662d5dc00000008 ae4b9ece00000005 9f24c67400000005 71e13c5c0000000b
Output for 5.3.11
27a262da00000009 43d576760000000e 59e70cca00000000 7ed229d40000000e 1317a1b20000000c
Output for 5.3.10
966a0d6600000002 4432238e0000000c 4c595d180000000b 5716a95000000007 bb61670e00000002
Output for 5.3.9
af8b988e00000005 b93e96a800000007 8530112000000005 562e5dda00000001 c0186f5a00000004
Output for 5.3.8
b6abc73800000001 e11f4a8800000000 c646985400000000 4d5faa120000000a 2bfa8db400000003
Output for 5.3.7
f9b5dbf60000000c e4bf4e1400000007 ebf8026800000004 1ceb3d140000000b 98f5749c00000002
Output for 5.3.6
e40393c600000004 557a9ba60000000e 3342c1f800000002 9bb2ed9200000007 b7b724780000000d
Output for 5.3.5
e261c48800000000 82bbfbf00000000e e3ccd81200000001 2e3d963e00000004 acd29bb00000000a
Output for 5.3.4
74685b9a0000000c a9dfc7aa00000007 eef9a9b600000001 c487efb800000007 68dbfb9e00000004
Output for 5.3.3
622a458800000007 63cdb06e00000008 f33172b400000004 74fde1e40000000e 9504320e0000000c
Output for 5.3.2
1feca1c600000000 7f87ab2a00000001 ce239f0000000000 b9917d0a00000000 d238124000000004
Output for 5.3.1
2d2941b40000000c 445e8c1800000008 ad42b5840000000e 1bfe4c660000000a de4c9e7a00000004
Output for 5.3.0
7312865800000000 3127f2a00000000 bb7c5cf60000000c 1dbd6e8e00000009 cc80512c00000003
Output for 5.2.17
8f0f0320000000f d531011600000001 4da1c92c00000000 33fb4be40000000f 909b8bc800000001
Output for 5.2.16
49e67b8600000006 fb8db70200000000 70a5b0740000000f 2d857c8200000005 3549defe00000004
Output for 5.2.15
1c7472be00000003 45084c3e00000006 da44635600000000 26db9d9a00000007 d942e2f800000000
Output for 5.2.14
2ab5ad1800000001 e6ffe16600000006 e286805a00000003 d6fd0e1a0000000c 249bb800000000a
Output for 5.2.13
61394fb80000000a 228fb15a00000001 d760578e00000001 e5d8cc8e0000000a b27eca6e0000000f
Output for 5.2.12
afcf8eb00000000c 9e962b9c0000000d f44596900000000b fe6f9f4a0000000b c0c640400000000d
Output for 5.2.11
a6290cca00000008 75be1fe000000005 60553a0000000d 4ed62c400000000f 7e4c0ad800000008
Output for 5.2.10
7d94bc1800000004 e380ea2800000009 2984bb8600000002 9b7ac5a800000008 4621761e0000000e
Output for 5.2.9
d8f1d81a00000002 f3cc024a0000000c f85e6b6200000002 a9aabeee00000005 4b88e27a0000000e
Output for 5.2.8
d8acb0ec00000002 22518c1e00000004 100af46000000008 a49076b000000000 50a457660000000a
Output for 5.2.7
5e3571920000000f 1f3552be00000007 2728633a00000006 e9e4520800000007 d3ba1d6400000009
Output for 5.2.6
1f3d6c9e0000000b 2c1ff4fe00000009 40a56e160000000c ee58790000000008 209e9fb60000000f
Output for 5.2.5
11293c7800000005 4dcce39c0000000b f418c6e20000000f 2e22df700000000b 33bc35180000000e
Output for 5.2.4
6b15788e0000000e a15457a800000004 8df8425e00000008 f40b0a0e00000000 74a0edac00000003
Output for 5.2.3
4380fada00000008 1459c2360000000f d40e54e400000008 200823f600000009 f800843200000008
Output for 5.2.2
5bf95d8c00000006 867aa53e00000003 ba4f9fc40000000c 41986ff000000009 4718d56a0000000b
Output for 5.2.1
279050e000000002 1315060e00000009 a20d1fe0000000d 60f5069e00000004 cfc07f880000000d
Output for 5.2.0
ffbfac6000000008 93b43a8200000000 4c10c82a00000006 7e9b2a6800000008 b818f4d40000000f
Output for 5.1.6
1ef76c4a00000005 b97285fc00000000 2ded60fe00000006 f4326e1c0000000e af4ce3c600000009
Output for 5.1.5
6a3f53f200000006 512b63ec0000000b 5dad8e9e00000001 db44d6220000000b 4b1c1b2600000004
Output for 5.1.4
93bb6d400000008 6961cdc000000009 20b9db5e0000000c 2b6aad7e00000004 bdbffcc60000000e
Output for 5.1.3
72036aec00000001 adbd02d400000008 6d37559c0000000a c529fad400000000 e000585c00000008
Output for 5.1.2
1d03fe3600000004 e931426c00000007 ed32f54800000006 f79c017600000005 de46b70400000006
Output for 5.1.1
ff0e4f6200000009 8c59ba5200000007 9476f06a00000001 caf1f3fc0000000e 7d6efbe000000003
Output for 5.1.0
8eb1f560000000d 6fff5ae200000009 4dc842380000000c e34702600000002 a37f48a00000000c
Output for 5.0.5
755a9e3e00000003 7fa7358800000001 afb47a0400000003 4b0c451200000008 fa67e1c00000003
Output for 5.0.4
959380a800000001 6df43a0600000006 8756c5ba00000005 3e85fd9a0000000b b1fdb12000000003
Output for 5.0.3
793fa74600000005 a465f43e0000000e 8ca2889a00000000 4d4ee18800000006 59f138f600000009
Output for 5.0.2
ced12ce20000000f a5a9500e00000002 26c200a000000004 fafae9820000000d 8db5a73600000003
Output for 5.0.1
2293d1200000004 f18e82f200000005 9e2f9c7000000004 dde637c800000005 8ba3566400000006
Output for 5.0.0
c51f44e400000002 9d3d1a280000000b f66c950e0000000c eef7bc5e00000002 723946400000000d
Output for 4.4.9
61e4102a00000002 5c3f7f0e00000003 c5f0f5980000000e b05241ec0000000d c74c611c00000009
Output for 4.4.8
5c8dfaae00000003 7df6d00000000b 6648719a00000002 3646fde400000000 7cada7000000004
Output for 4.4.7
3755c4c60000000e f452d01600000008 cae9cb160000000d 7a7a514800000002 8b600c980000000c
Output for 4.4.6
dda04df800000003 74fdcec00000001 4daf639c0000000e c1dd73ba00000001 e0c8ee3a0000000a
Output for 4.4.5
13df4f7200000005 f8aff20000000e e4ef931600000002 6998a6480000000b a5939d680000000f
Output for 4.4.4
9906b95400000007 37e3d0540000000c 77647fdc00000002 f5adf7060000000b 3ea07ec800000008
Output for 4.4.3
dcda62da0000000c 649f9b5200000000 afa6f47600000002 4344ca800000004 3737b4dc00000007
Output for 4.4.2
9019dd7400000000 35daa7a400000009 1054345600000003 1340c79200000006 5334f7ca00000005
Output for 4.4.1
807ef1ca0000000c 895d9b340000000c feef6e400000006 e3ae79a200000005 627e4c7a00000008
Output for 4.4.0
c003f5640000000e 597848180000000a abd5f6f400000006 7df585a000000003 8e02c41a0000000f
Output for 4.3.11
81f6736e0000000a 465844a00000000d e12570b600000009 20835aa000000004 5009cbe800000002
Output for 4.3.10
ad48d8520000000b fdcec1400000000d 9624b2b60000000e ac6a64260000000b 4c6ef4100000000d
Output for 4.3.9
4d97320600000004 99442c500000000b 7d0accd20000000b c13a655200000006 42b3199a0000000f
Output for 4.3.8
922867580000000a 2e4b2ab60000000b 78b11cc400000007 c3894c2e0000000e b24dfa6200000007
Output for 4.3.7
825d274c00000003 ad00cf140000000d 56e3493c0000000c 95c1d0b20000000a 833a6b540000000a
Output for 4.3.6
c0fa0b680000000f b8cddcb20000000d 3899106e00000003 9e607b9e00000003 c8fe88400000002
Output for 4.3.5
e8a44a740000000e c19859f20000000b d2fc6b3c00000008 b5c0181c00000006 2a32ecf600000009
Output for 4.3.4
ae5b41b400000003 4cb0c32000000008 cbd31e0800000000 4e3d17e40000000d 9fb072360000000a
Output for 4.3.3
895b794e00000004 719afb7600000006 80c8184800000007 14b7d61c0000000c 544b951e0000000d
Output for 4.3.2
833e08f800000002 daa4248200000005 3ccc983000000000 ef904dda0000000f 383b139e0000000a
Output for 4.3.1
a6642a0a00000000 75ec3f800000008 b6f6252600000003 d0cd10920000000d 24d2ab0c0000000f
Output for 4.3.0
4e82eca600000009 1330555800000005 58b2fcaa0000000b 80e6f4c200000006 93cbc5480000000f