3v4l.org

run code in 300+ PHP versions simultaneously
<?php $easter = new DateTime(date('d.m.', easter_date(date('Y'))));
Output for 7.1.20 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
Fatal error: Uncaught Error: Call to undefined function easter_date() in /in/kmHqP:2 Stack trace: #0 {main} thrown in /in/kmHqP on line 2
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.10
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (27.03.) at position 0 (2): Unexpected character in /in/kmHqP:2 Stack trace: #0 /in/kmHqP(2): DateTime->__construct('27.03.') #1 {main} thrown in /in/kmHqP on line 2
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.28
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (27.03.) at position 0 (2): Unexpected character' in /in/kmHqP:2 Stack trace: #0 /in/kmHqP(2): DateTime->__construct('27.03.') #1 {main} thrown in /in/kmHqP on line 2
Process exited with code 255.

preferences:
172.57 ms | 402 KiB | 240 Q