3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime('NOW'); echo PHP_EOL . $now->format('Y-m-d'); $now->add(new DateInterval('108D')); echo PHP_EOL . $now->format('Y-m-d');
Output for 8.3.0 - 8.3.6
2015-10-12 Fatal error: Uncaught DateMalformedIntervalStringException: Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
2015-10-12 Fatal error: Uncaught Exception: Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
2015-10-12 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 7.0.6
2016-05-03 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 7.0.5
2016-04-03 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 7.0.4
2016-03-10 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 7.0.3
2016-03-18 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 7.0.2
2016-03-22 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 7.0.1
2016-03-23 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 7.0.0
2016-03-27 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (108D) in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.4.8 - 5.4.45, 5.6.28
2015-10-12 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.21
2016-05-02 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.20
2016-04-09 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.19
2016-03-07 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.18
2016-03-15 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.17
2016-03-19 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.16
2016-03-28 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.15
2016-03-29 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.14
2016-04-02 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.13
2016-04-15 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.12
2016-04-19 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.11
2016-04-23 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.10
2016-04-25 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.9
2016-04-27 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.6.8
2016-04-29 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.35
2016-05-22 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.34
2016-04-11 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.33
2016-03-08 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.32
2016-03-17 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.31
2016-03-20 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.30
2016-04-01 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.29
2016-04-16 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.28
2016-04-21 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.27
2016-04-22 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.26
2016-04-26 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.25
2016-04-28 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.5.24
2016-05-24 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.
Output for 5.4.2 - 5.4.7
2015-10-27 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (108D)' in /in/sV3MC:6 Stack trace: #0 /in/sV3MC(6): DateInterval->__construct('108D') #1 {main} thrown in /in/sV3MC on line 6
Process exited with code 255.

preferences:
204.93 ms | 402 KiB | 271 Q