3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/London'); foreach(range(2015, 2020) as $y) { echo date('j D M Y', strtotime("12th November $y"))."\n".; }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected ';' in /in/sXZ87 on line 7
Process exited with code 255.

preferences:
190.78 ms | 1395 KiB | 67 Q