3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 10; $i++) { var_dump($i); }
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.16, 8.3.0 - 8.3.3
int(0) int(1) int(2) int(3) int(4) int(5) int(6) int(7) int(8) int(9)

preferences:
70.41 ms | 406 KiB | 55 Q