3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strtotime('2015-01-01').' '.strtotime('+6 months');
Output for 5.6.28, 7.0.14 - 7.1.0
1420066800 1420802154
Output for 7.0.6
1420066800 1478140689
Output for 7.0.5
1420066800 1475419851
Output for 7.0.4
1420066800 1473467441
Output for 7.0.3
1420066800 1474159426
Output for 7.0.2
1420066800 1474456627
Output for 7.0.1
1420066800 1474630186
Output for 7.0.0
1420066800 1474897941
Output for 5.6.21
1420066800 1478036501
Output for 5.6.20
1420066800 1476007498
Output for 5.6.19
1420066800 1473203697
Output for 5.6.18
1420066800 1473851374
Output for 5.6.17
1420066800 1474261977
Output for 5.6.16
1420066800 1474990717
Output for 5.6.15
1420066800 1475080278
Output for 5.6.14
1420066800 1475348813
Output for 5.6.13
1420066800 1476486252
Output for 5.6.12
1420066800 1476878999
Output for 5.6.11
1420066800 1477164351
Output for 5.6.10
1420066800 1477343036
Output for 5.6.9
1420066800 1477534579
Output for 5.6.8
1420066800 1477735135
Output for 5.5.35
1420066800 1479776770
Output for 5.5.34
1420066800 1476115342
Output for 5.5.33
1420066800 1473333835
Output for 5.5.32
1420066800 1474045635
Output for 5.5.31
1420066800 1474358681
Output for 5.5.30
1420066800 1475346764
Output for 5.5.29
1420066800 1476623122
Output for 5.5.28
1420066800 1476977215
Output for 5.5.27
1420066800 1477072465
Output for 5.5.26
1420066800 1477438408
Output for 5.5.25
1420066800 1477632837
Output for 5.5.24
1420066800 1477835981
Output for 5.4.45
1420066800 1461674186
Output for 5.4.44
1420066800 1461678311
Output for 5.4.43
1420066800 1452605623
Output for 5.4.42
1420066800 1452605622
Output for 5.4.41
1420066800 1452605620
Output for 5.4.40
1420066800 1452605616
Output for 5.4.39
1420066800 1452605615
Output for 5.4.38
1420066800 1441060539
Output for 5.4.36 - 5.4.37
1420066800 1438843654
Output for 5.4.34 - 5.4.35
1420066800 1431762217
Output for 5.4.31 - 5.4.32
1420066800 1425457955
Output for 5.4.27 - 5.4.30
1420066800 1420802159
Output for 5.4.16 - 5.4.26
1420066800 1420802160
Output for 5.4.3 - 5.4.15
1420066800 1420802161
Output for 5.3.16 - 5.3.28, 5.4.0 - 5.4.2
1420066800 1420802162
Output for 5.3.29
1420066800 1425457953
Output for 5.3.7 - 5.3.15
1420066800 1420802163