3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dt = new DateTime('2017-04-21T09:52:32.836647789-05:00'); ?>
based on JhAhg
Output for 7.0.0 - 7.3.0beta1
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (2017-04-21T09:52:32.836647789-05:00) at position 0 (2): The timezone could not be found in the database in /in/MtfIF:3 Stack trace: #0 /in/MtfIF(3): DateTime->__construct('2017-04-21T09:5...') #1 {main} thrown in /in/MtfIF on line 3
Process exited with code 255.
Output for hhvm-3.12.14 - 3.17.3
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2017-04-21T09:52:32.836647789-05:00) at position 0 (2): The timezone could not be found in the database' in /in/MtfIF:3 Stack trace: #0 /in/MtfIF(3): DateTime->__construct() #1 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2017-04-21T09:52:32.836647789-05:00) at position 0 (2): The timezone could not be found in the database' in /in/MtfIF:3 Stack trace: #0 /in/MtfIF(3): DateTime->__construct('2017-04-21T09:5...') #1 {main} thrown in /in/MtfIF on line 3
Process exited with code 255.