3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('5 years');
based on IVMVA
Output for 5.6.28, 7.0.20 - 7.1.0, 7.1.6 - 7.2.0
1606481766
Output for 7.1.5
1606481767
Output for 7.0.6
1620062891
Output for 7.0.5
1617428979
Output for 7.0.4
1615401695
Output for 7.0.3
1616097533
Output for 7.0.2
1616465286
Output for 7.0.1
1616564059
Output for 7.0.0
1616830188
Output for 5.6.21
1619959011
Output for 5.6.20
1618030213
Output for 5.6.19
1615172023
Output for 5.6.18
1615808640
Output for 5.6.17
1616195888
Output for 5.6.16
1616915913
Output for 5.6.15
1617005300
Output for 5.6.14
1617357410
Output for 5.6.13
1618496926
Output for 5.6.12
1618894544
Output for 5.6.11
1619263187
Output for 5.6.10
1619356983
Output for 5.6.9
1619548323
Output for 5.6.8
1619752957
Output for 5.5.35
1621716966
Output for 5.5.34
1618124475
Output for 5.5.33
1615268618
Output for 5.5.32
1615995174
Output for 5.5.31
1616293372
Output for 5.5.30
1617271269
Output for 5.5.29
1618634856
Output for 5.5.28
1618992672
Output for 5.5.27
1619085241
Output for 5.5.26
1619453070
Output for 5.5.25
1619652372
Output for 5.5.24
1621867262
Output for 5.4.45
1606481779
Output for 5.4.44
1606481782
Output for 5.4.43
1606481786
Output for 5.4.41 - 5.4.42
1606481788
Output for 5.4.40
1606481791
Output for 5.4.39
1606481793
Output for 5.4.38
1606481794
Output for 5.4.37
1606481795
Output for 5.4.36
1606481796
Output for 5.4.35
1606481797
Output for 5.4.34
1606481798
Output for 5.3.29, 5.4.32
1606481799
Output for 5.4.30 - 5.4.31
1606481800
Output for 5.4.28 - 5.4.29
1606481801
Output for 5.4.26 - 5.4.27
1606481802
Output for 5.4.25
1606481803
Output for 5.4.23 - 5.4.24
1606481804
Output for 5.4.21 - 5.4.22
1606481806
Output for 5.4.19 - 5.4.20
1606481807
Output for 5.4.18
1606481808
Output for 5.4.16 - 5.4.17
1606481810
Output for 5.3.25 - 5.3.26, 5.4.15
1606481811
Output for 5.3.23 - 5.3.24, 5.4.12 - 5.4.14
1606481812
Output for 5.3.21 - 5.3.22, 5.4.11
1606481813
Output for 5.3.20, 5.4.10
1606481814
Output for 5.3.28
1606481805
Output for 5.3.27
1606481809