3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strlen(random_bytes(9/2)));
based on uajOd
Output for 7.0.0 - 7.3.0rc4
int(4)
Output for 5.3.20 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/vJOrq on line 2
Process exited with code 255.