3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startTime = new DateTime(Wed Jul 05 2017 15:43:15 GMT-0400 (-04)); echo $startTime->format('Y-m-d H:i:s');
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected 'Jul' (T_STRING), expecting ',' or ')' in /in/ucmCS on line 3
Process exited with code 255.

preferences:
161.47 ms | 1395 KiB | 36 Q