3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fromDate="2014-07-05"; $fromDate=date("Y-m-d", strtotime($fromDate)); echo $fromDate;
Output for 4.3.0 - 7.2.0
2014-07-05