3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = date('Y-m-d H:i:s'); var_dump($date); var_dump(date('Y-m-d H:i:s', strtotime($date . ' +1 days')));
based on hv39K
Output for 4.3.6 - 7.1.0
string(19) "2014-10-24 11:48:01" string(19) "2014-10-25 11:48:01"
Output for 4.3.0 - 4.3.5
string(19) "2014-10-24 11:48:01" string(19) "2014-10-25 12:48:01"