3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($z = date("Y"); $z >= date("Y") - 3; $z--) echo $z,PHP_EOL;

preferences:
154.52 ms | 404 KiB | 5 Q