3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(new DateTime(date('Y-m-d')." 0:1000.9999:1000"));
based on jMSSd
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (2015-11-16 0:1000.9999:1000) at position 15 (0): Double time specification in /in/a34HX:3 Stack trace: #0 /in/a34HX(3): DateTime->__construct('2015-11-16 0:10...') #1 {main} thrown in /in/a34HX on line 3
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2015-11-16 0:1000.9999:1000) at position 15 (0): Double time specification' in /in/a34HX:3 Stack trace: #0 /in/a34HX(3): DateTime->__construct('2015-11-16 0:10...') #1 {main} thrown in /in/a34HX on line 3
Process exited with code 255.