3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = date('Y/m/d'); $date1 = str_replace('-', '/', $date); $tomorrow = date('Y-m-d',strtotime($date1 . "+1 days")); echo $tomorrow;
based on p8bFh
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0alpha1
2017-06-15