3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newDate = strtotime("2013-08-29T20:09:36+00:00"); $formattedDate = date('M d, Y', $newDate); $formattedTime = date('H:M:S', $newDate); echo $formattedDate; echo ; echo $formattedTime;
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.19, 5.5.0 - 5.5.3
Parse error: syntax error, unexpected ';' in /in/U05Tm on line 6
Process exited with code 255.

preferences:
216.3 ms | 1400 KiB | 59 Q