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') . "\n\r"; echo strtotime('3 years ago') . "\n\r"; echo str_replace('.', '-', "2014.10.09") . "\n\r";
based on iseB0
Output for 5.6.28, 7.0.20 - 7.2.0
1412805600 1428482654 1349685854 2014-10-09
Output for 7.0.6
1412805600 1446549343 1367576143 2014-10-09
Output for 7.0.5
1412805600 1443826752 1364943552 2014-10-09
Output for 7.0.4
1412805600 1441878142 1362912142 2014-10-09
Output for 7.0.3
1412805600 1442571962 1363605962 2014-10-09
Output for 7.0.2
1412805600 1442939031 1363973031 2014-10-09
Output for 7.0.1
1412805600 1443041207 1364075207 2014-10-09
Output for 7.0.0
1412805600 1443305854 1364339854 2014-10-09
Output for 5.6.21
1412805600 1446445728 1367472528 2014-10-09
Output for 5.6.20
1412805600 1444427413 1365544213 2014-10-09
Output for 5.6.19
1412805600 1441647868 1362681868 2014-10-09
Output for 5.6.18
1412805600 1442283503 1363317503 2014-10-09
Output for 5.6.17
1412805600 1442673283 1363707283 2014-10-09
Output for 5.6.16
1412805600 1443399243 1364433243 2014-10-09
Output for 5.6.15
1412805600 1443488980 1364522980 2014-10-09
Output for 5.6.14
1412805600 1443756051 1364872851 2014-10-09
Output for 5.6.13
1412805600 1444893607 1366010407 2014-10-09
Output for 5.6.12
1412805600 1445289455 1366406255 2014-10-09
Output for 5.6.11
1412805600 1445573621 1366690421 2014-10-09
Output for 5.6.10
1412805600 1445756424 1366869624 2014-10-09
Output for 5.6.9
1412805600 1445947469 1367060669 2014-10-09
Output for 5.6.8
1412805600 1446149673 1367262873 2014-10-09
Output for 5.5.35
1412805600 1448187319 1369214119 2014-10-09
Output for 5.5.34
1412805600 1444522297 1365639097 2014-10-09
Output for 5.5.33
1412805600 1441744946 1362778946 2014-10-09
Output for 5.5.32
1412805600 1442463979 1363497979 2014-10-09
Output for 5.5.31
1412805600 1442769482 1363803482 2014-10-09
Output for 5.5.30
1412805600 1443668661 1364785461 2014-10-09
Output for 5.5.29
1412805600 1445030891 1366147691 2014-10-09
Output for 5.5.28
1412805600 1445387870 1366504670 2014-10-09
Output for 5.5.27
1412805600 1445482472 1366599272 2014-10-09
Output for 5.5.26
1412805600 1445851953 1366965153 2014-10-09
Output for 5.5.25
1412805600 1446047941 1367161141 2014-10-09
Output for 5.5.24
1412805600 1448320013 1369346813 2014-10-09
Output for 5.4.34 - 5.4.45
1412805600 1428482660 1349685860 2014-10-09
Output for 5.4.21 - 5.4.32
1412805600 1428482661 1349685861 2014-10-09
Output for 5.4.10 - 5.4.20
1412805600 1428482662 1349685862 2014-10-09
Output for 5.4.8 - 5.4.9
1412805600 1428482663 1349685863 2014-10-09
Output for 5.4.7
1412805600 1430092905 1351296105 2014-10-09
Output for 5.4.6
1412805600 1430098202 1351301402 2014-10-09
Output for 5.4.5
1412805600 1430103616 1351306816 2014-10-09
Output for 5.4.4
1412805600 1430109453 1351312653 2014-10-09
Output for 5.4.3
1412805600 1430115545 1351318745 2014-10-09
Output for 5.4.2
1412805600 1430121830 1351325030 2014-10-09
Output for 5.3.29
1412805600 1430452961 1351659761 2014-10-09
Output for 5.3.28
1412805600 1430460689 1351667489 2014-10-09
Output for 5.3.27
1412805600 1430543572 1351836772 2014-10-09
Output for 5.3.26
1412805600 1430550842 1351844042 2014-10-09
Output for 5.3.25
1412805600 1430556208 1351849408 2014-10-09
Output for 5.3.24
1412805600 1430560496 1351853696 2014-10-09
Output for 5.3.23
1412805600 1430566307 1351859507 2014-10-09
Output for 5.3.22
1412805600 1430571742 1351864942 2014-10-09
Output for 5.3.21
1412805600 1430575353 1351868553 2014-10-09
Output for 5.3.20
1412805600 1430578975 1351872175 2014-10-09
Output for 5.3.19
1412805600 1430584088 1351877288 2014-10-09
Output for 5.3.18
1412805600 1430584487 1351877687 2014-10-09