3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i=1;$i<=10;$i++) { if($i<10){ echo $i."-"; } else { echo $i; } }
based on Ui1tv
Output for 4.3.0 - 7.1.7
1-2-3-4-5-6-7-8-9-10