3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (rand(10) >= 6) ? 'yes' : 'no';
Output for 4.3.0 - 7.1.0
Warning: rand() expects exactly 2 parameters, 1 given in /in/gdkcc on line 3 no