3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (date("Y-m-d", strtotime("12/31/2013"))); $date = new DateTime(date("Y-m-d", strtotime("12/31/2013"))); echo $date->format('Y-m-d H:i:sP') . "\n";

preferences:
41.94 ms | 402 KiB | 5 Q