3v4l.org

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