3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime())->format('Ymd His'); echo "\n"; echo (new DateTime('plus 300s'))->format('Ymd His');
based on akLGr
Output for 7.0.20 - 7.2.0
20151229 013140 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 7.0.6
20160521 130751 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 7.0.5
20160403 091132 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 7.0.4
20160310 211728 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 7.0.3
20160318 223935 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 7.0.2
20160323 045302 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 7.0.1
20160324 080144 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 7.0.0
20160327 095506 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.28
20151229 013140 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.21
20160502 160404 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.20
20160410 081321 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.19
20160308 052459 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.18
20160315 142058 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.17
20160320 015306 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.16
20160328 104437 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.15
20160329 113335 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.14
20160414 171600 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.13
20160415 175457 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.12
20160420 082402 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.11
20160424 144943 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.10
20160425 165522 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.9
20160427 221246 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.6.8
20160430 065222 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.35
20160523 013931 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.34
20160411 102654 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.33
20160309 082407 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.32
20160317 181654 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.31
20160321 050140 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.30
20160401 132601 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.29
20160417 081255 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.28
20160421 114216 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.27
20160422 132140 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.26
20160426 193600 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.25
20160429 030010 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.5.24
20160524 092508 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.45
20151229 013143 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.44
20151229 013144 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.43
20151229 013145 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.41 - 5.4.42
20151229 013146 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.40
20151229 013147 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.37 - 5.4.39
20151229 013148 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.35 - 5.4.36
20151229 013149 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.32 - 5.4.34
20151229 013150 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.29 - 5.4.31
20151229 013151 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.25 - 5.4.28
20151229 013152 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.21 - 5.4.24
20151229 013153 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.18 - 5.4.20
20151229 013154 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.14 - 5.4.17
20151229 013155 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.4.11 - 5.4.13
20151229 013156 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (plus 300s) at position 0 (p): The timezone could not be found in the database' in /in/DecSA:4 Stack trace: #0 /in/DecSA(4): DateTime->__construct('plus 300s') #1 {main} thrown in /in/DecSA on line 4
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/DecSA on line 2
Process exited with code 255.