3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo rand('1.0e31');
Output for 4.3.0 - 5.6.30, 7.0.0 - 7.2.0
Warning: rand() expects exactly 2 parameters, 1 given in /in/vGNLT on line 3
Output for hhvm-3.17.3
1406487504
Output for hhvm-3.15.4
9826959
Output for hhvm-3.13.2
713197547
Output for hhvm-3.12.14
1001290054
Output for hhvm-3.11.1
623803512
Output for hhvm-3.10.1
1212782959