3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //echo date('Y-m-d h:i:s'); echo strtotime(date())+(60*60*24*7); ?>
Output for 5.1.2 - 7.1.0
Warning: date() expects at least 1 parameter, 0 given in /in/8Lbi5 on line 5 604800
Output for 5.1.0 - 5.1.1
Warning: date() expects at least 1 parameter, 0 given in /in/8Lbi5 on line 5 1370239067
Output for 5.0.1 - 5.0.5
Warning: Wrong parameter count for date() in /in/8Lbi5 on line 5 Warning: strtotime(): Called with an empty time parameter. in /in/8Lbi5 on line 5 604799
Output for 4.3.2 - 5.0.0
Warning: Wrong parameter count for date() in /in/8Lbi5 on line 5 Notice: strtotime(): Called with empty time parameter in /in/8Lbi5 on line 5 1370210400
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for date() in /in/8Lbi5 on line 5 Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/8Lbi5 on line 5 1370210400