3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strtotime('midnight last sunday'); ?>
Output for 5.1.0 - 5.3.28, 5.4.0 - 5.4.25, 5.6.28, 7.0.7 - 7.1.0
1391900400
Output for 7.0.6
1462053600
Output for 5.5.30, 5.6.14 - 5.6.15, hhvm-3.10.0, 7.0.5
1459033200
Output for 5.5.33, hhvm-3.12.0, 7.0.4
1457218800
Output for 5.5.31 - 5.5.32, 5.6.17 - 5.6.18, 7.0.3
1457823600
Output for 5.6.16, 7.0.0 - 7.0.2
1458428400
Output for 5.5.24 - 5.5.26, 5.6.8 - 5.6.9, 5.6.21
1461448800
Output for 5.5.34, 5.6.20
1459634400
Output for 5.6.19
1456614000
Output for 5.5.29, 5.6.13
1460239200
Output for 5.5.27 - 5.5.28, 5.6.10 - 5.6.12
1460844000
Output for 5.6.7
1463868000
Output for 5.5.35
1463263200
Output for 5.4.45
1441490400
Output for 5.4.39 - 5.4.44
1440280800
Output for 5.4.38
1424559600
Output for 5.4.36 - 5.4.37
1422745200
Output for 5.4.34 - 5.4.35
1415487600
Output for 5.3.29, 5.4.26 - 5.4.32
1408831200
Output for 4.3.0 - 5.0.5
-1