3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('00:35:41'); $datetime2 = new DateTime('@74:35:41'); print_r($datetime2);
based on EOPiU
Output for 7.0.20 - 7.2.0
1447630541 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 7.0.6
1463783741 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 7.0.5
1459636541 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 7.0.4
1457566541 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 7.0.3
1458257741 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 7.0.2
1458689741 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 7.0.1
1458776141 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 7.0.0
1459035341 Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.3.19 - 5.4.45, 5.6.28
1447630541 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.21
1462142141 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.20
1460241341 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.19
1457393741 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.18
1457998541 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.17
1458344141 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.16
1459118141 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.15
1459204541 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.14
1459550141 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.13
1460673341 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.12
1461105341 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.11
1461450941 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.10
1461537341 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.9
1461796541 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.6.8
1461969341 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.35
1463956541 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.34
1460327741 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.33
1457480141 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.32
1458171341 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.31
1458516941 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.30
1459463741 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.29
1460846141 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.28
1461191741 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.27
1461278141 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.26
1461623741 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.25
1461882941 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.
Output for 5.5.24
1464042941 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@74:35:41) at position 3 (:): Unexpected character' in /in/6l5dR:5 Stack trace: #0 /in/6l5dR(5): DateTime->__construct('@74:35:41') #1 {main} thrown in /in/6l5dR on line 5
Process exited with code 255.