3v4l.org

run code in 200+ 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 - 7.2.0
Notice: A non well formed numeric value encountered in /in/NMpjW on line 2 -86396.98 Warning: A non-numeric value encountered in /in/NMpjW on line 5 -2<br>03.02.2014
Output for 4.3.0 - 7.0.20
-86396.98-2<br>03.02.2014