3v4l.org

run code in 300+ PHP versions simultaneously
<?php print (new DateTime('next Friday in 1 month'))->format('l Ymd');
Output for 8.3.0 - 8.3.11
Fatal error: Uncaught DateMalformedStringException: Failed to parse time string (next Friday in 1 month) at position 12 (i): The timezone could not be found in the database in /in/h09VS:4 Stack trace: #0 /in/h09VS(4): DateTime->__construct('next Friday in ...') #1 {main} thrown in /in/h09VS 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 in 1 month) at position 12 (i): The timezone could not be found in the database in /in/h09VS:4 Stack trace: #0 /in/h09VS(4): DateTime->__construct('next Friday in ...') #1 {main} thrown in /in/h09VS on line 4
Process exited with code 255.

preferences:
27.02 ms | 407 KiB | 5 Q