3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime(str_replace('.', '-', "2014.10.09")) . "\n\r"; echo strtotime('6 month ago');
based on UQsdZ
Output for 5.6.28, 7.0.20 - 7.2.0
1412805600 1428482325
Output for 7.0.6
1412805600 1446549307
Output for 7.0.5
1412805600 1443826725
Output for 7.0.4
1412805600 1441878112
Output for 7.0.3
1412805600 1442571931
Output for 7.0.2
1412805600 1442938997
Output for 7.0.1
1412805600 1443041177
Output for 7.0.0
1412805600 1443305757
Output for 5.6.21
1412805600 1446445694
Output for 5.6.20
1412805600 1444427386
Output for 5.6.19
1412805600 1441647838
Output for 5.6.18
1412805600 1442283473
Output for 5.6.17
1412805600 1442673251
Output for 5.6.16
1412805600 1443399213
Output for 5.6.15
1412805600 1443488948
Output for 5.6.14
1412805600 1443756024
Output for 5.6.13
1412805600 1444893574
Output for 5.6.12
1412805600 1445289415
Output for 5.6.11
1412805600 1445573587
Output for 5.6.10
1412805600 1445756380
Output for 5.6.9
1412805600 1445947433
Output for 5.6.8
1412805600 1446149641
Output for 5.5.35
1412805600 1448187288
Output for 5.5.34
1412805600 1444522269
Output for 5.5.33
1412805600 1441744912
Output for 5.5.32
1412805600 1442463886
Output for 5.5.31
1412805600 1442769450
Output for 5.5.30
1412805600 1443668633
Output for 5.5.29
1412805600 1445030853
Output for 5.5.28
1412805600 1445387822
Output for 5.5.27
1412805600 1445482432
Output for 5.5.26
1412805600 1445851919
Output for 5.5.25
1412805600 1446047905
Output for 5.5.24
1412805600 1448319979
Output for 5.4.39 - 5.4.45
1412805600 1428482331
Output for 5.4.27 - 5.4.38
1412805600 1428482332
Output for 5.4.16 - 5.4.26
1412805600 1428482333
Output for 5.4.8 - 5.4.15
1412805600 1428482334
Output for 5.4.7
1412805600 1430092902
Output for 5.4.6
1412805600 1430098200
Output for 5.4.5
1412805600 1430103614
Output for 5.4.4
1412805600 1430109451
Output for 5.4.3
1412805600 1430115543
Output for 5.4.2
1412805600 1430121827
Output for 5.3.29
1412805600 1430452953
Output for 5.3.28
1412805600 1430460681
Output for 5.3.27
1412805600 1430543564
Output for 5.3.26
1412805600 1430550835
Output for 5.3.25
1412805600 1430556206
Output for 5.3.24
1412805600 1430560493
Output for 5.3.23
1412805600 1430566304
Output for 5.3.22
1412805600 1430571739
Output for 5.3.21
1412805600 1430575351
Output for 5.3.20
1412805600 1430578972
Output for 5.3.19
1412805600 1430584086
Output for 5.3.18
1412805600 1430584485