3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime())->format('Ymd His'); echo "\n"; echo (new DateTime())->add(new DateInterval('P300s'))->format('Ymd His');
based on obmsJ
Output for 7.0.20 - 7.2.0
20151229 013540 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P300s) in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 7.0.6
20160521 130754 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P300s) in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 7.0.5
20160403 091135 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P300s) in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 7.0.4
20160310 211732 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P300s) in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 7.0.3
20160318 223939 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P300s) in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 7.0.2
20160323 045305 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P300s) in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 7.0.1
20160324 080148 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P300s) in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 7.0.0
20160327 095508 Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P300s) in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.28
20151229 013540 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.21
20160502 160405 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.20
20160410 081323 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.19
20160308 052503 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.18
20160315 142102 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.17
20160320 015310 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.16
20160328 104440 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.15
20160329 113338 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.14
20160414 171602 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.13
20160415 175459 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.12
20160420 082404 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.11
20160424 144945 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.10
20160425 165525 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.9
20160427 221248 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.6.8
20160430 065224 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.35
20160523 013947 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.34
20160411 102656 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.33
20160309 082410 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.32
20160317 181658 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.31
20160321 050143 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.30
20160401 132604 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.29
20160417 081257 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.28
20160421 114218 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.27
20160422 132142 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.26
20160426 193602 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.25
20160429 030012 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.5.24
20160524 092531 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.45
20151229 013543 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.44
20151229 013544 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.43
20151229 013545 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.41 - 5.4.42
20151229 013546 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.39 - 5.4.40
20151229 013547 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.36 - 5.4.38
20151229 013548 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.34 - 5.4.35
20151229 013549 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.31 - 5.4.32
20151229 013550 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.27 - 5.4.30
20151229 013551 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.23 - 5.4.26
20151229 013552 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.20 - 5.4.22
20151229 013553 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.17 - 5.4.19
20151229 013554 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.13 - 5.4.16
20151229 013555 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU on line 4
Process exited with code 255.
Output for 5.4.11 - 5.4.12
20151229 013556 Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct(): Unknown or bad format (P300s)' in /in/28bvU:4 Stack trace: #0 /in/28bvU(4): DateInterval->__construct('P300s') #1 {main} thrown in /in/28bvU 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/28bvU on line 2
Process exited with code 255.