3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo($givendate = strtotime('2013-07-16 17:30:00')."\n"); $cd = strtotime($givendate); $newdate = date('Y/m/d h:i:s', mktime(date('Y', $cd), date('m', $cd), date('d', $cd), date('h', $cd) + 15, date('i', $cd), date('s', $cd))); echo($newdate."\n");
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1373988600 2001/06/21 02:01:01
Output for 4.3.0 - 5.0.5
1373988600 2017/11/01 05:01:31