3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo rand(5); ?>
Output for 4.3.0 - 7.1.7
Warning: rand() expects exactly 2 parameters, 1 given in /in/r9rk6 on line 2