3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_year = date("Y"); print_r(range($current_year,$current_year-3));

preferences:
24.09 ms | 406 KiB | 5 Q