3v4l.org

run code in 300+ PHP versions simultaneously
<?php print (new DateTime('next Friday after 1 month'))->format('l Ymd');
Output for 8.3.0 - 8.3.11
Fatal error: Uncaught DateMalformedStringException: Failed to parse time string (next Friday after 1 month) at position 12 (a): The timezone could not be found in the database in /in/2LMTM:4 Stack trace: #0 /in/2LMTM(4): DateTime->__construct('next Friday aft...') #1 {main} thrown in /in/2LMTM on line 4
Process exited with code 255.
Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.23
Fatal error: Uncaught Exception: Failed to parse time string (next Friday after 1 month) at position 12 (a): The timezone could not be found in the database in /in/2LMTM:4 Stack trace: #0 /in/2LMTM(4): DateTime->__construct('next Friday aft...') #1 {main} thrown in /in/2LMTM on line 4
Process exited with code 255.

preferences:
46.07 ms | 408 KiB | 5 Q