3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime("-2 year");
Output for 5.5.0 - 5.5.12, 5.5.14 - 5.6.14, 5.6.17 - 7.1.19, 7.1.21 - 7.3.0
1389724718
Output for 5.6.15 - 5.6.16, 7.1.20
1389724719
Output for 5.5.13
1389724717
Output for 5.4.44 - 5.4.45
1389724722
Output for 5.4.43
1389724723
Output for 5.4.41 - 5.4.42
1389724724
Output for 5.4.39 - 5.4.40
1389724725
Output for 5.4.37 - 5.4.38
1389724726
Output for 5.4.35 - 5.4.36
1389724727
Output for 5.4.34
1389724728
Output for 5.3.29, 5.4.29 - 5.4.32
1389724729
Output for 5.4.26 - 5.4.28
1389724730
Output for 5.3.28, 5.4.23 - 5.4.25
1389724731
Output for 5.4.20 - 5.4.22
1389724732
Output for 5.3.27, 5.4.17 - 5.4.19
1389724733
Output for 5.3.24 - 5.3.26, 5.4.13 - 5.4.16
1389724734
Output for 5.3.21 - 5.3.23, 5.4.11 - 5.4.12
1389724735