3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime("-2 year");
Output for 5.6.28, 7.0.20 - 7.2.0
1389724718
Output for 7.0.6
1400672998
Output for 7.0.5
1396511238
Output for 7.0.4
1394484881
Output for 7.0.3
1395181332
Output for 7.0.2
1395549372
Output for 7.0.1
1395646765
Output for 7.0.0
1395912743
Output for 5.6.21
1399041698
Output for 5.6.20
1397112579
Output for 5.6.19
1394255064
Output for 5.6.18
1394892156
Output for 5.6.17
1395279299
Output for 5.6.16
1396002134
Output for 5.6.15
1396091509
Output for 5.6.14
1397490850
Output for 5.6.13
1397579599
Output for 5.6.12
1397977395
Output for 5.6.11
1398346156
Output for 5.6.10
1398440098
Output for 5.6.9
1398632490
Output for 5.6.8
1398835789
Output for 5.5.35
1400805920
Output for 5.5.34
1397207072
Output for 5.5.33
1394352208
Output for 5.5.32
1395079224
Output for 5.5.31
1395377208
Output for 5.5.30
1396353788
Output for 5.5.29
1397717459
Output for 5.5.28
1398075780
Output for 5.5.27
1398168012
Output for 5.5.26
1398536192
Output for 5.5.25
1398735774
Output for 5.5.24
1400919237
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