3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $lundi = strtotime('next monday'); $numWeekM6 = strftime('%U', strtotime('+3 week'), $lundi) + 1; echo $lundi; echo $numWeekM6;
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: strftime() expects at most 2 parameters, 3 given in /in/FlRJb on line 3 13865436001
Output for 4.4.0 - 4.4.9, 5.0.5
Warning: Wrong parameter count for strftime() in /in/FlRJb on line 3 13865436001
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
Warning: Wrong parameter count for strftime() in /in/FlRJb on line 3 13871484001