3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mt_srand(0); echo mt_rand();
Output for 7.1.0
1178568022
Output for 5.2.1 - 7.0.14
963932192
Output for 4.3.0 - 5.2.0
1898087491