3v4l.org

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