3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fromDate="2014-07-05"; $fromDate=date("Y-m-d", strtotime($fromDate)); echo $fromDate;

preferences:
37.83 ms | 402 KiB | 5 Q