3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tmp1 = "12/01/1984"; $j = 3; $tmp2 = strtotime("+$j day", $tmp1); echo strftime("%d-%m-%Y",$tmp2);
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: A non well formed numeric value encountered in /in/7FvA3 on line 6 04-01-1970
Output for 4.3.0 - 5.0.5, hhvm-3.10.0 - 3.12.0
04-01-1970