3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $calcul = strtotime("today") - strtotime("09-12-2013"); echo strftime("%d-%m-%Y", $calcul);
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
08-10-1969
Output for 4.3.6 - 5.1.2
15-09-2013
Output for 4.3.0 - 4.3.5