3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $today_dt = new DateTime(strtotime(2015-12-05)); echo $today_dt->format('Y-m-d');
based on 7AfZq
Output for 7.0.20 - 7.2.0
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (913730894) at position 7 (9): Unexpected character in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730894') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 7.0.6
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (895747004) at position 8 (4): Unexpected character in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('895747004') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 7.0.5
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (891585937) at position 8 (7): Unexpected character in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('891585937') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 7.0.4
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (889559275) at position 8 (5): Unexpected character in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('889559275') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 7.0.3
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (890255308) at position 8 (8): Unexpected character in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('890255308') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 7.0.2
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (890623355) at position 7 (5): Unexpected character in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('890623355') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 7.0.1
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (890721265) at position 7 (6): Unexpected character in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('890721265') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 7.0.0
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (890987299) at position 8 (9): Unexpected character in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('890987299') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.28
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730894) at position 7 (9): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730894') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.21
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (894116192) at position 7 (9): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('894116192') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.20
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (892187230) at position 8 (0): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('892187230') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.19
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (889329387) at position 7 (8): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('889329387') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.18
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (889966136) at position 8 (6): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('889966136') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.17
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (890353397) at position 8 (7): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('890353397') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.16
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (891076645) at position 8 (5): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('891076645') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.15
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (891162415) at position 8 (5): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('891162415') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.14
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (892565275) at position 8 (5): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('892565275') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.13
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (892654084) at position 8 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('892654084') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.12
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893051750) at position 8 (0): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893051750') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.11
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893420477) at position 7 (7): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893420477') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.10
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893514366) at position 7 (6): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893514366') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.9
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893705652) at position 7 (5): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893705652') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.6.8
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893910223) at position 8 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893910223') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.35
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (895878198) at position 8 (8): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('895878198') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.34
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (892281555) at position 8 (5): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('892281555') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.33
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (889426393) at position 7 (9): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('889426393') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.32
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (890153061) at position 8 (1): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('890153061') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.31
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (890451031) at position 8 (1): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('890451031') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.30
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (891428338) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('891428338') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.29
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (892791945) at position 8 (5): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('892791945') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.28
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893150029) at position 8 (9): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893150029') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.27
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893242452) at position 8 (2): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893242452') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.26
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893610336) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893610336') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.25
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (893809845) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('893809845') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.5.24
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (895993024) at position 8 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('895993024') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.45
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730917) at position 7 (1): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730917') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.44
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730921) at position 7 (2): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730921') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.43
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730927) at position 7 (2): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730927') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.42
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730929) at position 7 (2): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730929') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.41
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730930) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730930') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.40
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730933) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730933') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.39
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730934) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730934') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.38
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730936) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730936') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.36 - 5.4.37
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730937) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730937') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.35
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730938) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730938') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.34
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730939) at position 7 (3): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730939') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.32
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730940) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730940') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.3.29, 5.4.31
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730941) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730941') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.29 - 5.4.30
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730942) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730942') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.27 - 5.4.28
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730943) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730943') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.24 - 5.4.26
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730944) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730944') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.3.28, 5.4.21 - 5.4.23
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730945) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730945') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.4.18 - 5.4.20
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730946) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730946') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.3.26 - 5.3.27, 5.4.16 - 5.4.17
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730947) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730947') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.3.23 - 5.3.25, 5.4.12 - 5.4.15
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730948) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730948') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.
Output for 5.3.20 - 5.3.22, 5.4.10 - 5.4.11
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (913730949) at position 7 (4): Unexpected character' in /in/jLnCl:2 Stack trace: #0 /in/jLnCl(2): DateTime->__construct('913730949') #1 {main} thrown in /in/jLnCl on line 2
Process exited with code 255.