3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = range(0,20); $limit = 5; for($x = 0; $x <= $limit; $x++) { echo $a[$x] . "\n<br/>"; }

preferences:
35.31 ms | 402 KiB | 5 Q