3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sec = 1; $getcurrentDate = date("Y-m-d H:i:s", time()); $finaldate = strtotime ( '+'.$sec.' second', strtotime ($getcurrentDate)) ; ?>
Output for 4.3.0 - 7.1.0