3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "date_end:" . strtotime(str_replace('.', '-', "2014.10.09")) . "\n\r"; echo "6 months ago:" . strtotime('6 month ago');
based on Aidf3
Output for 5.6.28, 7.0.20 - 7.2.0
date_end:1412805600 6 months ago:1428482309
Output for 7.0.6
date_end:1412805600 6 months ago:1446549297
Output for 7.0.5
date_end:1412805600 6 months ago:1443826714
Output for 7.0.4
date_end:1412805600 6 months ago:1441878101
Output for 7.0.3
date_end:1412805600 6 months ago:1442571918
Output for 7.0.2
date_end:1412805600 6 months ago:1442938983
Output for 7.0.1
date_end:1412805600 6 months ago:1443041166
Output for 7.0.0
date_end:1412805600 6 months ago:1443305744
Output for 5.6.21
date_end:1412805600 6 months ago:1446445684
Output for 5.6.20
date_end:1412805600 6 months ago:1444427375
Output for 5.6.19
date_end:1412805600 6 months ago:1441647826
Output for 5.6.18
date_end:1412805600 6 months ago:1442283459
Output for 5.6.17
date_end:1412805600 6 months ago:1442673241
Output for 5.6.16
date_end:1412805600 6 months ago:1443399202
Output for 5.6.15
date_end:1412805600 6 months ago:1443488939
Output for 5.6.14
date_end:1412805600 6 months ago:1443756013
Output for 5.6.13
date_end:1412805600 6 months ago:1444893560
Output for 5.6.12
date_end:1412805600 6 months ago:1445289404
Output for 5.6.11
date_end:1412805600 6 months ago:1445573577
Output for 5.6.10
date_end:1412805600 6 months ago:1445756369
Output for 5.6.9
date_end:1412805600 6 months ago:1445947420
Output for 5.6.8
date_end:1412805600 6 months ago:1446149630
Output for 5.5.35
date_end:1412805600 6 months ago:1448187277
Output for 5.5.34
date_end:1412805600 6 months ago:1444522259
Output for 5.5.33
date_end:1412805600 6 months ago:1441744901
Output for 5.5.32
date_end:1412805600 6 months ago:1442463852
Output for 5.5.31
date_end:1412805600 6 months ago:1442769438
Output for 5.5.30
date_end:1412805600 6 months ago:1443668621
Output for 5.5.29
date_end:1412805600 6 months ago:1445030842
Output for 5.5.28
date_end:1412805600 6 months ago:1445387810
Output for 5.5.27
date_end:1412805600 6 months ago:1445482422
Output for 5.5.26
date_end:1412805600 6 months ago:1445851908
Output for 5.5.25
date_end:1412805600 6 months ago:1446047893
Output for 5.5.24
date_end:1412805600 6 months ago:1448319967
Output for 5.4.35 - 5.4.45
date_end:1412805600 6 months ago:1428482315
Output for 5.4.23 - 5.4.34
date_end:1412805600 6 months ago:1428482316
Output for 5.4.12 - 5.4.22
date_end:1412805600 6 months ago:1428482317
Output for 5.4.8 - 5.4.11
date_end:1412805600 6 months ago:1428482318
Output for 5.4.7
date_end:1412805600 6 months ago:1430092895
Output for 5.4.6
date_end:1412805600 6 months ago:1430098198
Output for 5.4.5
date_end:1412805600 6 months ago:1430103613
Output for 5.4.4
date_end:1412805600 6 months ago:1430109449
Output for 5.4.3
date_end:1412805600 6 months ago:1430115542
Output for 5.4.2
date_end:1412805600 6 months ago:1430121826
Output for 5.3.29
date_end:1412805600 6 months ago:1430452947
Output for 5.3.28
date_end:1412805600 6 months ago:1430460675
Output for 5.3.27
date_end:1412805600 6 months ago:1430543559
Output for 5.3.26
date_end:1412805600 6 months ago:1430550831
Output for 5.3.25
date_end:1412805600 6 months ago:1430556204
Output for 5.3.24
date_end:1412805600 6 months ago:1430560491
Output for 5.3.23
date_end:1412805600 6 months ago:1430566300
Output for 5.3.22
date_end:1412805600 6 months ago:1430571738
Output for 5.3.21
date_end:1412805600 6 months ago:1430575349
Output for 5.3.20
date_end:1412805600 6 months ago:1430578970
Output for 5.3.19
date_end:1412805600 6 months ago:1430584084
Output for 5.3.18
date_end:1412805600 6 months ago:1430584483