3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (is_int(0x7FFFFFFF + 1)) { function foo() { return sprintf("%16x", mt_rand(-0x7FFFFFFFFFFFFFFF - 1, 0x7FFFFFFFFFFFFFFF)); } } else { function foo() { return sprintf( "%08x%08x", mt_rand(-0x7FFFFFFF - 1, 0x7FFFFFFF), mt_rand(-0x7FFFFFFF - 1, 0x7FFFFFFF) ); } } foreach (range(1, 5) as $i) { echo foo(), "\n"; }
Output for 7.1.0
787da43eaa4ae828 831efc52978d479a 7f55d9b9b5f36cc8 bcdc91505b1fbd29 1c341d26035fb50c
Output for 7.0.14
8a61927e00000000 0 0 0 b800f67000000000
Output for 7.0.6
0 0 bb147de000000000 0 0
Output for 7.0.5
0 0 0 85a5028400000000 e70850a800000000
Output for 7.0.4
b47511a000000000 88a4b75e00000000 a1cd195200000000 8aa258b600000000 b6b46e3c00000000
Output for 7.0.3
0 e83dc84e00000000 df0e2f5200000000 82b4d99c00000000 0
Output for 7.0.2
c4c0817600000000 0 0 897348fc00000000 c5292d1200000000
Output for 7.0.1
b3cda9da00000000 0 f337779000000000 8abfaaca00000000 0
Output for 7.0.0
c787271a00000000 0 e9d53f6a00000000 0 0
Output for hhvm-3.12.0
0 8bfc96d600000000 0 d9b0f92200000000 0
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
dccca27200000000 0 0 90d0a25400000000 aa0981cc00000000
Output for 5.6.21
0 0 0 0 b34efe9c00000000
Output for 5.6.20
0 0 0 cf1de0a400000000 87727f0200000000
Output for 5.6.19
8e5811cc00000000 0 a84241dc00000000 0 0
Output for 5.6.18
e193479200000000 0 0 c39fa0dc00000000 928c729400000000
Output for 5.6.17
be874e2e00000000 9d8983f800000000 0 d857c1da00000000 0
Output for 5.6.16
ef98bdca00000000 9f902bee00000000 0 a17fe73200000000 9aa73a3200000000
Output for 5.6.15
0 0 0 9f68652000000000 0
Output for 5.6.14
f1e7aa0c00000000 f965459c00000000 0 a926d09c00000000 db731a4400000000
Output for 5.6.13
0 0 97fc9cd400000000 fa29df6e00000000 de8669fa00000000
Output for 5.6.12
0 0 c9a0f2d400000000 e5bc6db400000000 b50c2d1c00000000
Output for 5.6.11
0 8ee401b400000000 0 f53e0f0a00000000 f6fd9e6800000000
Output for 5.6.10
0 0 0 80982e8a00000000 0
Output for 5.6.9
0 0 0 ee805df800000000 0
Output for 5.6.8
9b63a4f400000000 0 0 c76998b800000000 0
Output for 5.5.35
b746619e00000000 99eae81400000000 f0dd866c00000000 a60e5c2c00000000 b776775000000000
Output for 5.5.34
0 a6253d9000000000 0 d73826a600000000 0
Output for 5.5.33
d1a44f4c00000000 9e2353ac00000000 0 a3b8cbb600000000 9ca61dea00000000
Output for 5.5.32
a29b0a8e00000000 0 cda6fb3400000000 0 e7132bc600000000
Output for 5.5.31
0 0 d92edfac00000000 f144c7b200000000 0
Output for 5.5.30
0 91b43eac00000000 a83f115200000000 0 fe86b64400000000
Output for 5.5.29
0 0 0 b83840e200000000 0
Output for 5.5.28
c278869200000000 0 e45e651600000000 dde6330000000000 e27d92bc00000000
Output for 5.5.27
0 0 0 ca8fe57c00000000 c9d84ee800000000
Output for 5.5.26
0 0 0 f4e0c51200000000 0
Output for 5.5.25
0 0 0 e28952b800000000 f0d6b88c00000000
Output for 5.5.24
0 b6f4fbd800000000 d2a57ba000000000 a55743c400000000 0
Output for 5.4.45
da3bef8600000000 d084e67000000000 8cadcc6a00000000 0 979f4f1000000000
Output for 5.4.44
0 0 0 d4e3d31a00000000 ccb0024400000000
Output for 5.4.43
fdf8a92600000000 9f4f711200000000 92ffae1800000000 9cfc92d600000000 0
Output for 5.4.42
9a5df21000000000 ac290f0200000000 0 86d2d1c800000000 cde583c200000000
Output for 5.4.41
0 0 0 ade5665a00000000 ef828fce00000000
Output for 5.4.40
0 cb76d3b800000000 0 b52ed55600000000 953a972c00000000
Output for 5.4.39
0 bd084c2800000000 bae4806400000000 ad7b107a00000000 b64fecd400000000
Output for 5.3.2, 5.3.11, 5.4.35, 5.4.38
0 0 0 0 0
Output for 5.4.37
0 0 f272438800000000 d2b8ffa200000000 0
Output for 5.4.36
c5540ff200000000 b5e8794000000000 0 0 0
Output for 5.4.34
0 ca5d57a400000000 0 d227a16e00000000 e4d3e66000000000
Output for 5.4.32
a2b0585200000000 f65fbdc800000000 0 9a5e90d800000000 0
Output for 5.4.31
e37adf4c00000000 c53c767c00000000 0 d1fdf56600000000 d1a25b9200000000
Output for 5.4.30
a24a4b8200000000 0 0 0 f95015c400000000
Output for 5.4.29
0 0 8c8b693c00000000 0 0
Output for 5.4.28
0 0 0 da1c16f600000000 f48e71bc00000000
Output for 5.4.27
0 c08967c600000000 0 8f13ece200000000 ef53acb600000000
Output for 5.4.26
8cf3a4e400000000 0 0 f08a367800000000 0
Output for 5.4.25
0 0 0 0 801394ca00000000
Output for 5.4.24
0 d2063dc600000000 e05b141800000000 0 0
Output for 5.4.23
0 9432d93e00000000 0 847f587200000000 85aaf3cc00000000
Output for 5.4.22
0 cafad98c00000000 0 0 c621610e00000000
Output for 5.4.21
0 bc818ef400000000 0 ef5ef36e00000000 e3ba346400000000
Output for 5.4.20
e27faa4c00000000 0 d5187c8c00000000 0 0
Output for 5.4.19
0 84e6b8b200000000 0 efe9860800000000 0
Output for 5.4.18
0 0 0 8a475a8400000000 9507657400000000
Output for 5.4.17
0 0 eec2326200000000 8bbc742400000000 0
Output for 5.4.16
0 0 0 b8212cba00000000 0
Output for 5.4.15
bf15aae000000000 0 adff6b7400000000 b4ec705800000000 0
Output for 5.4.14
9589cdda00000000 905f05a200000000 0 0 0
Output for 5.4.13
ca77070e00000000 8ff542ce00000000 8882513e00000000 0 be9e8fa600000000
Output for 5.4.12
9f7cff1200000000 d3d07ff800000000 bb6fb3e200000000 b25be82800000000 0
Output for 5.4.11
0 0 b0f6a98a00000000 b08f0ba200000000 0
Output for 5.4.10
0 e5e83f3a00000000 8c73712400000000 c60367fc00000000 0
Output for 5.4.9
0 0 9594a06400000000 0 a2089fa800000000
Output for 5.4.8
0 0 9d0c8e7600000000 0 c7012a1c00000000
Output for 5.4.7
f21c3aa600000000 0 0 0 d4613be600000000
Output for 5.4.6
80a96eb600000000 0 c435a13e00000000 0 0
Output for 5.4.5
e5caa8e600000000 9ef45a1200000000 0 0 d495124400000000
Output for 5.4.4
0 0 f96a2a9c00000000 9730a18000000000 ae8bc95000000000
Output for 5.4.3
bd385c8400000000 c99c3d0000000000 0 0 0
Output for 5.4.2
0 bba6b23000000000 d449634800000000 b7e9977800000000 0
Output for 5.4.1
ca9ed11c00000000 bac3737a00000000 0 0 cd56814a00000000
Output for 5.4.0
0 eca1f67e00000000 0 0 0
Output for 5.3.29
0 8549536600000000 0 0 0
Output for 5.3.28
bf66d86200000000 edaa3ac800000000 0 0 fb6d656800000000
Output for 5.3.27
0 bcc147de00000000 0 ae1832ca00000000 0
Output for 5.3.26
c3187cb600000000 9beb344600000000 0 944be86a00000000 bae2b13400000000
Output for 5.3.25
0 0 ba84bba600000000 ee0ad2d400000000 0
Output for 5.3.24
0 baa036bc00000000 0 ddaa322600000000 efb5e2f000000000
Output for 5.3.23
0 84d6b13e00000000 0 0 0
Output for 5.3.22
0 0 0 9921417e00000000 d6aad41800000000
Output for 5.3.21
98a92f8800000000 b730815800000000 e2ff154200000000 e81de35a00000000 0
Output for 5.3.20
c465752200000000 0 f69ad0c200000000 0 a2b9e37400000000
Output for 5.3.19
9a61405a00000000 0 0 b35fa73600000000 ade15e9a00000000
Output for 5.3.18
0 ca06f08c00000000 0 0 aefc0f4e00000000
Output for 5.3.17
0 e241e10000000000 ff1a24a600000000 d909df1200000000 c684ab1200000000
Output for 5.3.16
0 baf268fa00000000 0 0 b32926f400000000
Output for 5.3.15
f00ee45e00000000 0 ee0b447200000000 e6e7ff2200000000 0
Output for 5.3.14
ba60f42a00000000 0 0 fcaeab2600000000 b5322eae00000000
Output for 5.3.13
0 a1f3211000000000 8d32bb8600000000 0 0
Output for 5.3.12
8316c09e00000000 f298553800000000 0 0 0
Output for 5.3.10
0 0 0 b3d128b000000000 0
Output for 5.3.9
b630e73200000000 0 a6333c8800000000 f73991f800000000 a60811b200000000
Output for 5.3.8
fbce663200000000 d368f5e400000000 c9ec6fc800000000 c7a0d93600000000 0
Output for 5.3.7
fa78f0d000000000 0 0 0 0
Output for 5.3.6
0 8353286a00000000 0 0 980c21e200000000
Output for 5.3.5
0 0 0 0 97f2c22200000000
Output for 5.3.4
cdfa922a00000000 0 9d0a15e600000000 e11c3fe000000000 f312cb0c00000000
Output for 5.3.3
0 8d6d127000000000 0 0 fdb70c3000000000
Output for 5.3.1
0 b4a1495200000000 d7cf886e00000000 c54fb7e600000000 de24d2fe00000000
Output for 5.3.0
0 0 0 0 f9ba35b200000000
Output for 5.2.17
e9ac92a800000000 c125f3f000000000 0 aeb6ec4a00000000 0
Output for 5.2.16
0 0 963e280800000000 f4a66ad200000000 f1c11b8600000000
Output for 5.2.15
918b614c00000000 0 b635766a00000000 0 0
Output for 5.2.14
0 b1f163f200000000 c11a92ce00000000 0 f642f7cc00000000
Output for 5.2.13
a3dea89c00000000 0 b8dc9f2400000000 0 e304876600000000
Output for 5.2.12
0 8df5bea000000000 0 ab34e65800000000 b93fd9e600000000
Output for 5.2.11
0 0 815ba03a00000000 0 d511ff6000000000
Output for 5.2.10
0 d5d2af5e00000000 f01122fe00000000 0 0
Output for 5.2.9
b5edcdc000000000 a3f79fc000000000 0 0 0
Output for 5.2.8
fe64b7be00000000 fd8dafb600000000 0 b1139c8200000000 ddf5fed200000000
Output for 5.2.7
9f66c88000000000 adb5d72000000000 892a355e00000000 0 0
Output for 5.2.6
0 d065939600000000 0 0 0
Output for 5.2.5
0 97b8adfc00000000 f2d64a7c00000000 caef58d800000000 0
Output for 5.2.4
0 c186b4b600000000 8fb3151800000000 afd57e5800000000 e44140f000000000
Output for 5.2.3
0 0 8abaea1a00000000 0 af101b5e00000000
Output for 5.2.2
e3e63d9200000000 cdaadd4800000000 0 0 0
Output for 5.2.1
0 8113d1c600000000 8c8e8bd600000000 0 e6597e0a00000000
Output for 5.2.0
0 aca51e4200000000 a2cbe57a00000000 d2c8966200000000 eb0d46fe00000000
Output for 5.1.6
c86e0f8200000000 0 0 0 0
Output for 5.1.5
0 0 b636f9b000000000 c1062c6600000000 d6f55e6000000000
Output for 5.1.4
0 0 0 94eb4c0600000000 0
Output for 5.1.3
b5720b3e00000000 0 0 b7a9beb600000000 0
Output for 5.1.2
0 0 b541e94800000000 96b2b6a400000000 b325633000000000
Output for 5.1.1
d51ecb9800000000 b46a3d2000000000 e219e71200000000 e0f1db3e00000000 be9e8fa000000000
Output for 5.1.0
d268de8e00000000 cb27427e00000000 b155c6fa00000000 abad2c6a00000000 0
Output for 5.0.5
c2349a7a00000000 0 0 0 c3f1ddac00000000
Output for 5.0.4
d4f3bf6e00000000 0 96afb4c600000000 0 0
Output for 5.0.3
bd70b12000000000 0 0 0 0
Output for 5.0.2
ae188d9200000000 d34e267000000000 c1c2627400000000 0 0
Output for 5.0.1
0 0 b6e56a7800000000 0 0
Output for 5.0.0
0 aef210c200000000 d9a0d9b000000000 0 9078e17e00000000
Output for 4.3.0 - 4.4.9
8000000000000000 8000000000000000 8000000000000000 8000000000000000 8000000000000000