3v4l.org

run code in 200+ PHP versions simultaneously
<?php $limit = 20; for($i=0;$i<=$limit;$i++) { echo $i . "<br>"; }
based on n9S14
Output for 4.3.0 - 7.4.1
0<br>1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>10<br>11<br>12<br>13<br>14<br>15<br>16<br>17<br>18<br>19<br>20<br>