3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = new DateTime('2015-08-31T00:55:88.1020Z'); var_dump($foo->format('c'));
based on G3IDC
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (2015-08-31T00:55:88.1020Z) at position 18 (8): Double time specification in /in/ZZ32E:2 Stack trace: #0 /in/ZZ32E(2): DateTime->__construct('2015-08-31T00:5...') #1 {main} thrown in /in/ZZ32E on line 2
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2015-08-31T00:55:88.1020Z) at position 18 (8): Double time specification' in /in/ZZ32E:2 Stack trace: #0 /in/ZZ32E(2): DateTime->__construct('2015-08-31T00:5...') #1 {main} thrown in /in/ZZ32E on line 2
Process exited with code 255.