3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function make_seed() { list($usec, $sec) = explode(' ', microtime()); return (float) $sec + ((float) $usec * 100000); } var_dump(mt_srand(make_seed())); $randval = mt_rand();
based on rqaEg
Output for 4.3.0 - 7.1.0
NULL