3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo unpack(random_bytes(10));
based on Gdce1
Output for 7.1.0 - 7.2.0
Warning: unpack() expects at least 2 parameters, 1 given in /in/mciqV on line 3
Output for 7.0.0 - 7.0.20
Warning: unpack() expects exactly 2 parameters, 1 given in /in/mciqV on line 3
Output for 5.3.20 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/mciqV on line 3
Process exited with code 255.