3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime("2015-12-13 23:60:00");
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (2015-12-13 23:60:00) at position 15 (0): Double time specification in /in/Q3n9o:3 Stack trace: #0 /in/Q3n9o(3): DateTime->__construct('2015-12-13 23:6...') #1 {main} thrown in /in/Q3n9o on line 3
Process exited with code 255.
Output for 5.3.20 - 5.6.21
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2015-12-13 23:60:00) at position 15 (0): Double time specification' in /in/Q3n9o:3 Stack trace: #0 /in/Q3n9o(3): DateTime->__construct('2015-12-13 23:6...') #1 {main} thrown in /in/Q3n9o on line 3
Process exited with code 255.