3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s1=date('d/M/Y', strtotime('+1 day')); echo date('Y-m-d', strtotime('+1 day', strtotime($s1)));
Output for 4.3.0 - 5.0.5, 5.1.3 - 7.1.0
1970-01-02
Output for 5.1.0 - 5.1.2
1970-01-01