3v4l.org

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