3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mt_srand(14); var_dump(mt_rand());
Output for 7.1.0
int(1103684917)
Output for 5.2.1 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.0.14
int(1048776771)
Output for 4.3.0 - 5.2.0
int(1330778215)