3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strtotime("10 September 2000"), "\n"; echo strtotime("+1 day"), "\n"; echo strtotime("+1 week"), "\n"; echo strtotime("+1 week 2 days 4 hours 2 seconds"), "\n"; echo strtotime("next Thursday"), "\n"; echo strtotime("last Monday"), "\n"; ?>
Output for 5.6.28, 7.0.14 - 7.1.0
968536800 1384505664 1385024064 1385211266 1384988400 1384124400
Output for 7.0.6
968536800 1462318444 1462836844 1463024046 1462399200 1462140000
Output for 7.0.5
968536800 1459687968 1460206368 1460393570 1459980000 1459116000
Output for 7.0.4
968536800 1457650583 1458168983 1458356185 1457564400 1457305200
Output for 7.0.3
968536800 1458343448 1458861848 1459045450 1458774000 1457910000
Output for 7.0.2
968536800 1458640963 1459155763 1459342965 1458774000 1457910000
Output for 7.0.1
968536800 1458814439 1459329239 1459516441 1458774000 1458514800
Output for 7.0.0
968536800 1459079299 1459597699 1459784901 1459375200 1458514800
Output for hhvm-3.12.0
968536800 1459145631 1459664031 1459851233 1459375200 1458514800
Output for hhvm-3.10.0
968536800 1459355182 1459873582 1460060784 1459375200 1459116000
Output for 5.6.21
968536800 1462214298 1462732698 1462919900 1462399200 1461535200
Output for 5.6.20
968536800 1460275678 1460794078 1460981280 1460584800 1459720800
Output for 5.6.19
968536800 1457384083 1457902483 1458089685 1457564400 1456700400
Output for 5.6.18
968536800 1458031966 1458550366 1458737568 1458169200 1457305200
Output for 5.6.17
968536800 1458446193 1458964593 1459148195 1458774000 1457910000
Output for 5.6.16
968536800 1459171987 1459690387 1459877589 1459375200 1458514800
Output for 5.6.15
968536800 1459261655 1459780055 1459967257 1459375200 1458514800
Output for 5.6.14
968536800 1459616905 1460135305 1460322507 1459980000 1459116000
Output for 5.6.13
968536800 1460753734 1461272134 1461459336 1461189600 1460325600
Output for 5.6.12
968536800 1461146530 1461664930 1461852132 1461189600 1460930400
Output for 5.6.11
968536800 1461431933 1461950333 1462137535 1461794400 1460930400
Output for 5.6.10
968536800 1461610694 1462129094 1462316296 1461794400 1460930400
Output for 5.6.9
968536800 1461801929 1462320329 1462507531 1461794400 1461535200
Output for 5.6.8
968536800 1462001916 1462520316 1462707518 1462399200 1461535200
Output for 5.6.7
968536800 1464199133 1464717533 1464904735 1464213600 1463954400
Output for 5.5.35
968536800 1463953948 1464472348 1464659550 1464213600 1463349600
Output for 5.5.34
968536800 1460383329 1460901729 1461088931 1460584800 1459720800
Output for 5.5.33
968536800 1457518247 1458036647 1458223849 1457564400 1457305200
Output for 5.5.32
968536800 1458155304 1458673704 1458860906 1458169200 1457910000
Output for 5.5.31
968536800 1458542993 1459057793 1459244995 1458774000 1457910000
Output for 5.5.30
968536800 1459528223 1460046623 1460233825 1459980000 1459116000
Output for 5.5.29
968536800 1460890846 1461409246 1461596448 1461189600 1460325600
Output for 5.5.28
968536800 1461244459 1461762859 1461950061 1461189600 1460930400
Output for 5.5.27
968536800 1461340227 1461858627 1462045829 1461794400 1460930400
Output for 5.5.26
968536800 1461705294 1462223694 1462410896 1461794400 1460930400
Output for 5.5.25
968536800 1461900122 1462418522 1462605724 1462399200 1461535200
Output for 5.5.24
968536800 1462100237 1462618637 1462805839 1462399200 1461535200
Output for 5.4.45
968536800 1447423697 1447942097 1448129299 1447887600 1447023600
Output for 5.4.44
968536800 1447423698 1447942098 1448129300 1447887600 1447023600
Output for 5.4.42 - 5.4.43
968536800 1447423700 1447942100 1448129302 1447887600 1447023600
Output for 5.4.40 - 5.4.41
968536800 1447423701 1447942101 1448129303 1447887600 1447023600
Output for 5.4.38 - 5.4.39
968536800 1447423702 1447942102 1448129304 1447887600 1447023600
Output for 5.4.36 - 5.4.37
968536800 1447423703 1447942103 1448129305 1447887600 1447023600
Output for 5.4.34 - 5.4.35
968536800 1447423704 1447942104 1448129306 1447887600 1447023600
Output for 5.3.29, 5.4.31 - 5.4.32
968536800 1447423705 1447942105 1448129307 1447887600 1447023600
Output for 5.4.28 - 5.4.30
968536800 1447423706 1447942106 1448129308 1447887600 1447023600
Output for 5.4.25 - 5.4.27
968536800 1447423707 1447942107 1448129309 1447887600 1447023600
Output for 5.3.28, 5.4.21 - 5.4.24
968536800 1447423708 1447942108 1448129310 1447887600 1447023600
Output for 5.4.18 - 5.4.20
968536800 1447423709 1447942109 1448129311 1447887600 1447023600
Output for 5.3.26 - 5.3.27, 5.4.15 - 5.4.17
968536800 1447423710 1447942110 1448129312 1447887600 1447023600
Output for 5.3.21 - 5.3.25, 5.4.12 - 5.4.14
968536800 1447423711 1447942111 1448129313 1447887600 1447023600
Output for 5.3.17 - 5.3.20, 5.4.8 - 5.4.11
968536800 1447423712 1447942112 1448129314 1447887600 1447023600
Output for 5.3.14 - 5.3.16, 5.4.5 - 5.4.7
968536800 1447423713 1447942113 1448129315 1447887600 1447023600
Output for 5.3.11 - 5.3.13, 5.4.1 - 5.4.4
968536800 1447423714 1447942114 1448129316 1447887600 1447023600
Output for 5.2.17, 5.3.5 - 5.3.10, 5.4.0
968536800 1447423715 1447942115 1448129317 1447887600 1447023600
Output for 5.2.13 - 5.2.16, 5.3.2 - 5.3.4
968536800 1447423716 1447942116 1448129318 1447887600 1447023600
Output for 5.2.7 - 5.2.12, 5.3.0 - 5.3.1
968536800 1447423717 1447942117 1448129319 1447887600 1447023600
Output for 5.2.2 - 5.2.6
968536800 1447423718 1447942118 1448129320 1447887600 1447023600
Output for 5.1.4 - 5.2.1
968536800 1447423719 1447942119 1448129321 1447887600 1447023600
Output for 5.0.4, 5.1.0 - 5.1.3
968536800 1447423720 1447942120 1448129322 1447887600 1447023600
Output for 4.4.0 - 4.4.2, 5.0.5
968536800 1447423720 1447942120 1448129322 1447282800 1447023600
Output for 4.3.7 - 4.3.11, 5.0.3
968536800 1447423721 1447942121 1448129323 1447887600 1447023600
Output for 5.0.0 - 5.0.2
968536800 1447369200 1447887600 1448074802 1447887600 1447023600
Output for 4.4.6 - 4.4.9
968536800 1447423718 1447942118 1448129320 1447282800 1447023600
Output for 4.4.3 - 4.4.5
968536800 1447423719 1447942119 1448129321 1447282800 1447023600
Output for 4.3.0 - 4.3.6
968536800 1447423722 1447942122 1448129324 1447887600 1447023600