3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('n'); if(date('n') > 6){ echo date('Y') .' / '. date('Y', strtotime('+1 year')); }else{ echo date('Y', strtotime('-1 year')).' / '.date('Y') ; }

preferences:
53.11 ms | 402 KiB | 5 Q