3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = 2013-08-29; $newDate = date("d-m-Y", strtotime($date)); echo $newDate;
Output for 5.1.0 - 5.6.24
29-08-1984
Output for 4.3.0 - 5.0.5
29-08-2013