3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sec = 1; $getcurrentDate = date("Y-m-d H:i:s", gmmktime() +18000); $finaldate = strtotime ( '+'.$sec.' second', strtotime ($getcurrentDate)) ; ?>
Output for 7.0.0 - 7.1.0
Deprecated: gmmktime(): You should be using the time() function instead in /in/ckfT9 on line 3
Output for 5.1.0 - 5.6.28
Strict Standards: gmmktime(): You should be using the time() function instead in /in/ckfT9 on line 3
Output for 4.3.0 - 5.0.5