3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $from=new DateTime('2015/15/10 06:00:00'); echo $from->format('Y/d/m 06:00:00');
based on hNAuu
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (2015/15/10 06:00:00) at position 4 (/): Unexpected character in /in/noQeR:3 Stack trace: #0 /in/noQeR(3): DateTime->__construct('2015/15/10 06:0...') #1 {main} thrown in /in/noQeR on line 3
Process exited with code 255.
Output for 5.6.0 - 5.6.27
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2015/15/10 06:00:00) at position 4 (/): Unexpected character' in /in/noQeR:3 Stack trace: #0 /in/noQeR(3): DateTime->__construct('2015/15/10 06:0...') #1 {main} thrown in /in/noQeR on line 3
Process exited with code 255.