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($y); echo date("d.m.Y");
Output for 7.1.0 - 7.3.0rc4
Notice: A non well formed numeric value encountered in /in/0KZZb on line 2 -86396.98<br>03.02.2014
Output for 5.1.0 - 7.0.20
-86396.98<br>03.02.2014
Output for 4.3.0 - 5.0.5
-86396.98<br>-103.02.2014