3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('now').PHP_EOL; echo strtotime('-60 second');
based on vWWsM
Output for 5.6.28, 7.0.20 - 7.2.0
1448828109 1448828049
Output for 7.0.6
1462297076 1462297016
Output for 7.0.5
1459663124 1459663064
Output for 7.0.4
1457635897 1457635837
Output for 7.0.3
1458331840 1458331780
Output for 7.0.2
1458699573 1458699513
Output for 7.0.1
1458798235 1458798175
Output for 7.0.0
1459060743 1459060683
Output for 5.6.21
1462193168 1462193108
Output for 5.6.20
1460264366 1460264306
Output for 5.6.19
1457406251 1457406191
Output for 5.6.18
1458042884 1458042824
Output for 5.6.17
1458430097 1458430037
Output for 5.6.16
1459150075 1459150015
Output for 5.6.15
1459239458 1459239398
Output for 5.6.14
1459591699 1459591639
Output for 5.6.13
1460731088 1460731028
Output for 5.6.12
1461128716 1461128656
Output for 5.6.11
1461497371 1461497311
Output for 5.6.10
1461591164 1461591104
Output for 5.6.9
1461782500 1461782440
Output for 5.6.8
1461987087 1461987027
Output for 5.5.35
1463951514 1463951454
Output for 5.5.34
1460358655 1460358595
Output for 5.5.33
1457502892 1457502832
Output for 5.5.32
1458229437 1458229377
Output for 5.5.31
1458527619 1458527559
Output for 5.5.30
1459505437 1459505377
Output for 5.5.29
1460868993 1460868933
Output for 5.5.28
1461226835 1461226775
Output for 5.5.27
1461319425 1461319365
Output for 5.5.26
1461687245 1461687185
Output for 5.5.25
1461886600 1461886540
Output for 5.5.24
1464068962 1464068902
Output for 5.4.45
1448828112 1448828052
Output for 5.4.44
1448828113 1448828053
Output for 5.4.41 - 5.4.43
1448828114 1448828054
Output for 5.4.40
1448828115 1448828055
Output for 5.4.36 - 5.4.39
1448828116 1448828056
Output for 5.4.34 - 5.4.35
1448828117 1448828057
Output for 5.3.29, 5.4.29 - 5.4.32
1448828118 1448828058
Output for 5.4.25 - 5.4.28
1448828119 1448828059
Output for 5.3.28, 5.4.20 - 5.4.24
1448828120 1448828060
Output for 5.3.26 - 5.3.27, 5.4.16 - 5.4.19
1448828121 1448828061
Output for 5.3.21 - 5.3.25, 5.4.12 - 5.4.15
1448828122 1448828062
Output for 5.3.20, 5.4.10 - 5.4.11
1448828123 1448828063