3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strftime('%d/%m/%y', strtotime("first Sunday next month"));
Output for 5.6.28, 7.0.14 - 7.1.0
12/11/14
Output for 5.6.21, 7.0.6
08/06/16
Output for 5.5.30, 5.6.14 - 5.6.16, 7.0.5
03/05/16
Output for 5.5.33, 5.6.19, 7.0.4
13/04/16
Output for 5.5.32, 5.6.17 - 5.6.18, 7.0.3
20/04/16
Output for 5.5.31, 7.0.0 - 7.0.2
27/04/16
Output for 5.6.20
10/05/16
Output for 5.5.29, 5.5.34, 5.6.13
17/05/16
Output for 5.5.27 - 5.5.28, 5.6.11 - 5.6.12
24/05/16
Output for 5.5.25 - 5.5.26, 5.6.8 - 5.6.10
01/06/16
Output for 5.5.24, 5.5.35
29/06/16
Output for 5.2.0 - 5.4.45
18/11/15
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.1.6
15/11/15
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
20/12/15