3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $size = 16; $seed = (int)bin2hex(openssl_random_pseudo_bytes($size)); echo $seed;
Output for 7.0.0 - 7.0.1, 7.1.7
0
Output for 7.0.2
80
Output for 5.5.38
8224