3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $y = date("d.m.Y") - 86400; //$y = $y - (86400); echo $y; echo "<br>".strtotime(date("d.m.Y"))-(2); echo "<br>".date("d.m.Y");
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/YSJpT on line 2 -86396.98 Warning: A non-numeric value encountered in /in/YSJpT on line 5 -2<br>03.02.2014
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.14
-86396.98-2<br>03.02.2014