3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $y = strtotime(date("d.m.Y")); $y = $y - 86400; echo $y; echo "<br>".strtotime(date("d.m.Y")); echo "<br>".date("d.m.Y");
Output for 5.1.0 - 7.2.0
1391295600<br>1391382000<br>03.02.2014
Output for 4.3.0 - 5.0.5
-86401<br>-1<br>03.02.2014