3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand(5); ?>
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: rand() expects exactly 2 parameters, 1 given in /in/r9rk6 on line 2
Output for hhvm-3.12.0
1504255042
Output for hhvm-3.10.0
613790853