3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php srand(10); for($i=0;$i<10;$i++) { echo rand(1,10); echo "\n"; }
Output for 7.1.0
8 6 3 8 3 6 8 3 2 6
Output for 4.3.0 - 7.0.14
6 7 6 2 9 2 6 5 1 4