3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $start = strtotime('2 weeks ago'); echo '<br/>'; echo $finish = strtotime('last week');
Output for 5.6.28, 7.0.20 - 7.1.0, 7.1.6 - 7.2.0
1440527586<br/>1441045986
Output for 7.1.5
1440527587<br/>1441045987
Output for 7.0.6
1461045714<br/>1461564114
Output for 7.0.5
1458417546<br/>1458590346
Output for 7.0.4
1456380906<br/>1456726506
Output for 7.0.3
1457074025<br/>1457333225
Output for 7.0.2
1457440344<br/>1457958744
Output for 7.0.1
1457544858<br/>1457976858
Output for 7.0.0
1457810094<br/>1457982894
Output for 5.6.21
1460942467<br/>1461547267
Output for 5.6.20
1459018134<br/>1459187334
Output for 5.6.19
1456150849<br/>1456755649
Output for 5.6.18
1456783568<br/>1457388368
Output for 5.6.17
1457175935<br/>1457348735
Output for 5.6.16
1457902809<br/>1458594009
Output for 5.6.15
1457992407<br/>1458597207
Output for 5.6.14
1458347268<br/>1458520068
Output for 5.6.13
1459480993<br/>1459740193
Output for 5.6.12
1459875561<br/>1460393961
Output for 5.6.11
1460159907<br/>1460332707
Output for 5.6.10
1460339388<br/>1460944188
Output for 5.6.9
1460530023<br/>1460962023
Output for 5.6.8
1460731533<br/>1460990733
Output for 5.6.7
1462956718<br/>1463388718
Output for 5.5.35
1462683757<br/>1463374957
Output for 5.5.34
1459109733<br/>1459800933
Output for 5.5.33
1456247450<br/>1456765850
Output for 5.5.32
1456963086<br/>1457308686
Output for 5.5.31
1457272369<br/>1457963569
Output for 5.5.30
1458259296<br/>1458518496
Output for 5.5.29
1459618094<br/>1459790894
Output for 5.5.28
1459973121<br/>1460405121
Output for 5.5.27
1460068552<br/>1460327752
Output for 5.5.26
1460434542<br/>1460952942
Output for 5.5.25
1460629121<br/>1460974721
Output for 5.5.24
1462814039<br/>1463418839
Output for 5.4.41 - 5.4.45
1440527595<br/>1441045995
Output for 5.4.32 - 5.4.40
1440527596<br/>1441045996
Output for 5.4.26 - 5.4.31
1440527597<br/>1441045997
Output for 5.4.19 - 5.4.25
1440527598<br/>1441045998
Output for 5.4.12 - 5.4.18
1440527599<br/>1441045999
Output for 5.4.7 - 5.4.11
1440527600<br/>1441046000
Output for 5.4.6
1444698876<br/>1445217276
Output for 5.4.5
1444704336<br/>1445222736
Output for 5.4.4
1444710029<br/>1445228429
Output for 5.4.3
1444716111<br/>1445234511
Output for 5.4.2
1444722434<br/>1445240834
Output for 5.3.29
1441550641<br/>1442241841
Output for 5.3.27 - 5.3.28
1441550640<br/>1442241840
Output for 5.3.25 - 5.3.26
1441550639<br/>1442241839
Output for 5.3.23 - 5.3.24
1441550638<br/>1442241838
Output for 5.3.21 - 5.3.22
1441550637<br/>1442241837
Output for 5.3.19 - 5.3.20
1441550636<br/>1442241836
Output for 5.3.18
1441550635<br/>1442241835
Output for 5.3.17
1441550634<br/>1442241834