3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print str_replace('/', '-', '10/09/2010'); print date('d/m/Y', strtotime(date('d-m-Y').' + 30 days'));
Output for 5.1.3 - 7.1.0
10-09-201003/11/2013
Output for 5.1.0 - 5.1.2
10-09-201001/01/1970
Output for 4.3.0 - 5.0.5
10-09-201005/05/2010