3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo bin2hex(random_bytes(32)) . "\n"; echo strlen(bin2hex(random_bytes(32))) . "\n";
based on l0NFA
Output for 7.3.0alpha1
bad8ae5dc00ebc82ab5ba24847a0e525c6820bca3e2322c9f8544090dfe4ea57 64
Output for 7.2.6
fa531974c4d693fc194724a42befef550e7edb6ac1d9adcf2eb4b7703e68fb36 64
Output for 7.2.5
d8ddfa39bbeb69c0fed1447b89ecb13e596e3aa041aa0688dc5d5492294e009e 64
Output for 7.2.0
f300ee843af8e176d8e78c2ebd66c573ebb04bc0044d4e839bca18dfde25afd6 64
Output for 7.1.7
6acfa74600e67acc77b3605564457799761791b67677e15d69a9348e41315b58 64
Output for 7.1.6
366c5456d98cbd7775cb9216643223d7b60beec762c278ccc9c5c66cd046ab59 64
Output for 7.1.5
c628a9068c9ab4bb373061aef59902d1dbb37d9cbe1d52cba6afecf76e98a15e 64
Output for 7.1.4
8b25b63ae33611a9c7147f6ef4dcbe7af81187be7b96121ecddd33d7e2109bdc 64
Output for 7.1.3
f30d4e4df0edfdef961b732978090fb6234e6883aee888ca885178e3a2dd3eb8 64
Output for 7.1.2
4a1b53e762b6eded60975b9a0b173ce0b9acd790ee4c8bb0bea0f138874a5b94 64
Output for 7.1.1
67ca303575cdb6b48c900a4d4b2bf0774874de322970679ba4a60978da7e7f2a 64
Output for 7.1.0
50dc412dbc9d172fc275fcc304ea27934459ec47f542954512afc7f1820453df 64
Output for 7.0.20
1902c9a2ff7d8bdb39699e1fc262afc62b7f9ea11ea395dfd7711b79910e9493 64
Output for 7.0.19
fdcac69eb54dd895d56b979e096cdb24c63f73429b42351a825b58efc6bd6cf8 64
Output for 7.0.18
0340d6365d441a0006f15267c59f4c86a375051c65d381a9fdcaad6808222afa 64
Output for 7.0.17
ebec8c7afe99782d79ba43380376f2d7dff5cd40dd399c2b16b178818387a8f0 64
Output for 7.0.16
e5a413df8137fef3eaaa7a4e14e4f25035d493665d310c05f1b2ced1e4911190 64
Output for 7.0.15
bc086ef0abdaaadaddd966df33d1c142681a404a681fc929434a61dbb2a495cc 64
Output for 7.0.14
01ab8b7db1766494ea83f859eec73a9d3548d0699d0a9bdf73815e99b6c03b80 64
Output for 7.0.13
aa76892a0c934b5b51615e47de27111195f6b0daef5d5457293fdbe559fde0cf 64
Output for 7.0.12
af9c7b358d1811798ebaa0420571bcb7f8188708754f6594c4c424ad934a2c52 64
Output for 7.0.11
948f0c1d7102b27269b898c6bf8e710731dafc4f78b8a51b496bac4adbdfe4e6 64
Output for 7.0.10
bfcf8421eca1ff49e402136854fad6a84e49508b04ae8fee9f2cf1b52a31b3f3 64
Output for 7.0.9
9cd8da6edaf243d289b02c933a29dc488224a5f91c39b90723efb9da8e77dc65 64
Output for 7.0.8
564ef7c0021d94949be45c556bad6777b07b0465ebc8c86943e9d2c7e4842ee7 64
Output for 7.0.7
44223e0bc257d1d61e3f5dd00a8d808267ad6fe08df6bcd1237cc69d0ec71214 64
Output for 7.0.6
19e09b11997b79f60b460526da5c5533e9d046e5064f0b6c0dcbb409ea89c980 64
Output for 7.0.5
c4bb8faef281e7f6a87b5dea1bae85903999db0f7c0290867dc268118531a0f7 64
Output for 7.0.4
767f22740672d023adaaf7abc85f98789f56c89c395a77201134e2624e993267 64
Output for 7.0.3
68d6809c9f9c10b87ad9bdce9fa431ebe2b250fbdb905fc450ccd6e6073228ec 64
Output for 7.0.2
ea84e8cfec84139bc6e6b052673708a415018741ce33d190b2cdee3a4391f9f1 64
Output for 7.0.1
f3995f1265929bfa6c0dcf9931812ced90cf322a290c3ca090a6b0c282785214 64
Output for 7.0.0
d0cc37d579fada21a97b9c6a3d6c3335b9e7f311be6351e4bbbad1075af47ad5 64
Output for hhvm-3.15.4
f7e03d35913ec1e721f79bb57946e06089e21ebf120a516ef7e7bd1c9e9d1c80 64
Output for 5.6.0 - 5.6.30
Fatal error: Call to undefined function random_bytes() in /in/eduSi on line 3
Process exited with code 255.