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.3.0rc4
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.1 - 5.6.38, hhvm-3.10.1 - 3.11.1, hhvm-3.13.2, hhvm-3.17.3 - 3.22.0, 7.0.0 - 7.0.31
-86396.98-2<br>03.02.2014
Output for hhvm-3.12.14, hhvm-3.15.4

Process exited with code 137.
Output for 4.3.0