3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mt_srand (intval(microtime(true))); $six_digit_random_number = mt_rand(100000, 999999); echo $six_digit_random_number;
Output for 7.1.0
986646
Output for 5.2.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.14
752528
Output for 5.0.0 - 5.2.0
408800
Output for 4.3.0 - 4.4.9
895479