3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo bin2hex(random_bytes(20)); ?>
based on d1ZRq
Output for 7.2.0
fc14843a8e5a0b635e687cf058e77f0b20d6af67
Output for 7.1.10
84932bf8a7c13a255d2c7f646813d2a0b533adaa
Output for 7.1.7
caf912137ab1d8cb9461c657688b2b0ebcbc0563
Output for 7.1.6
970f4b66c0b35375ca072164b42670221a203214
Output for 7.1.5
2f7288a75f744cba6189b8ed554d78cb88e35d94
Output for 7.1.0
080e989f1ce2c5e0231861667c2225005a6006b8
Output for 7.0.20
650241e9c7f8f2f553aa98ac4e168b08e6a0ae9e
Output for 7.0.6
fd877284c6122d5a690568034a01e9e2563c0287
Output for 7.0.5
020443e824f7400b5147a23678b2a702930f8bea
Output for 7.0.4
bbc3aae4fa66072e83fda4d49abc052f3121e91d
Output for 7.0.3
876a86c28aeb51557f0cfb30a12da09b4a7cc6b9
Output for 7.0.2
871d8989db5e022a3df94d70bea1be39d32986af
Output for 7.0.1
a8f31b90611a5b27f7b7cc5af14b95c6bb1afcbc
Output for 7.0.0
3e2299e21112766b6d88f254a5ef19c582a08a89
Output for 5.3.19 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/RjNFs on line 3
Process exited with code 255.