3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strtotime ("now"), "\n"; 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
1404391281 968536800 1404477681 1404996081 1405183283 1404943200 1404079200
Output for 7.0.6
1462286240 968536800 1462372640 1462891040 1463078242 1462399200 1462140000
Output for 7.0.5
1459652901 968536800 1459739301 1460257701 1460444903 1459980000 1459116000
Output for 7.0.4
1457624662 968536800 1457711062 1458229462 1458416664 1458169200 1457305200
Output for 7.0.3
1458318505 968536800 1458404905 1458923305 1459106907 1458774000 1457910000
Output for 7.0.2
1458686103 968536800 1458772503 1459287303 1459474505 1458774000 1458514800
Output for 7.0.1
1458787598 968536800 1458873998 1459388798 1459576000 1459375200 1458514800
Output for 7.0.0
1459050216 968536800 1459136616 1459655016 1459842218 1459375200 1458514800
Output for hhvm-3.12.0
1457832118 968536800 1457918518 1458436918 1458624120 1458169200 1457305200
Output for hhvm-3.10.0
1459370330 968536800 1459456730 1459975130 1460162332 1459375200 1459116000
Output for 5.6.21
1462182463 968536800 1462268863 1462787263 1462974465 1462399200 1461535200
Output for 5.6.20
1460253977 968536800 1460340377 1460858777 1461045979 1460584800 1459720800
Output for 5.6.19
1457393515 968536800 1457479915 1457998315 1458185517 1457564400 1457305200
Output for 5.6.18
1458030255 968536800 1458116655 1458635055 1458822257 1458169200 1457910000
Output for 5.6.17
1458418620 968536800 1458505020 1459023420 1459207022 1458774000 1457910000
Output for 5.6.16
1459139480 968536800 1459225880 1459744280 1459931482 1459375200 1458514800
Output for 5.6.15
1459228943 968536800 1459315343 1459833743 1460020945 1459375200 1459116000
Output for 5.6.14
1459581571 968536800 1459667971 1460186371 1460373573 1459980000 1459116000
Output for 5.6.13
1460720154 968536800 1460806554 1461324954 1461512156 1461189600 1460325600
Output for 5.6.12
1461117685 968536800 1461204085 1461722485 1461909687 1461189600 1460930400
Output for 5.6.11
1461400367 968536800 1461486767 1462005167 1462192369 1461794400 1460930400
Output for 5.6.10
1461580075 968536800 1461666475 1462184875 1462372077 1461794400 1460930400
Output for 5.6.9
1461771343 968536800 1461857743 1462376143 1462563345 1461794400 1461535200
Output for 5.6.8
1461975581 968536800 1462061981 1462580381 1462767583 1462399200 1461535200
Output for 5.5.35
1463930698 968536800 1464017098 1464535498 1464722700 1464213600 1463349600
Output for 5.5.34
1460348414 968536800 1460434814 1460953214 1461140416 1460584800 1459720800
Output for 5.5.33
1457490751 968536800 1457577151 1458095551 1458282753 1457564400 1457305200
Output for 5.5.32
1458216405 968536800 1458302805 1458821205 1459008407 1458774000 1457910000
Output for 5.5.31
1458515284 968536800 1458601684 1459116484 1459303686 1458774000 1457910000
Output for 5.5.30
1459494974 968536800 1459581374 1460099774 1460286976 1459980000 1459116000
Output for 5.5.29
1460858370 968536800 1460944770 1461463170 1461650372 1461189600 1460325600
Output for 5.5.28
1461215572 968536800 1461301972 1461820372 1462007574 1461794400 1460930400
Output for 5.5.27
1461308890 968536800 1461395290 1461913690 1462100892 1461794400 1460930400
Output for 5.5.26
1461676125 968536800 1461762525 1462280925 1462468127 1461794400 1461535200
Output for 5.5.25
1461873426 968536800 1461959826 1462478226 1462665428 1462399200 1461535200
Output for 5.5.24
1464057767 968536800 1464144167 1464662567 1464849769 1464213600 1463954400
Output for 5.4.45
1442828784 968536800 1442915184 1443433584 1443620786 1443045600 1442181600
Output for 5.4.44
1442828779 968536800 1442915179 1443433579 1443620781 1443045600 1442181600
Output for 5.4.43
1442767337 968536800 1442853737 1443372137 1443559339 1443045600 1442181600
Output for 5.4.42
1442767300 968536800 1442853700 1443372100 1443559302 1443045600 1442181600
Output for 5.4.41
1442767256 968536800 1442853656 1443372056 1443559258 1443045600 1442181600
Output for 5.4.40
1442767220 968536800 1442853620 1443372020 1443559222 1443045600 1442181600
Output for 5.4.39
1442767193 968536800 1442853593 1443371993 1443559195 1443045600 1442181600
Output for 5.4.38
1425474760 968536800 1425561160 1426079560 1426266762 1425510000 1425250800
Output for 5.4.36 - 5.4.37
1425474753 968536800 1425561153 1426079553 1426266755 1425510000 1425250800
Output for 5.4.34 - 5.4.35
1425474752 968536800 1425561152 1426079552 1426266754 1425510000 1425250800
Output for 5.4.32
1410598959 968536800 1410685359 1411203759 1411390961 1410991200 1410127200
Output for 5.4.31
1410598958 968536800 1410685358 1411203758 1411390960 1410991200 1410127200
Output for 5.4.27 - 5.4.30
1404391287 968536800 1404477687 1404996087 1405183289 1404943200 1404079200
Output for 5.4.9 - 5.4.26
1404391288 968536800 1404477688 1404996088 1405183290 1404943200 1404079200
Output for 5.3.21 - 5.3.28, 5.4.0 - 5.4.8
1404391289 968536800 1404477689 1404996089 1405183291 1404943200 1404079200
Output for 5.3.29
1410598956 968536800 1410685356 1411203756 1411390958 1410991200 1410127200
Output for 5.3.5 - 5.3.20
1404391290 968536800 1404477690 1404996090 1405183292 1404943200 1404079200
Output for 5.2.3 - 5.3.4
1404391291 968536800 1404477691 1404996091 1405183293 1404943200 1404079200
Output for 5.0.3 - 5.0.4, 5.1.0 - 5.2.2
1404391292 968536800 1404477692 1404996092 1405183294 1404943200 1404079200
Output for 4.4.1 - 4.4.9, 5.0.5
1404391292 968536800 1404477692 1404996092 1405183294 1404338400 1404079200
Output for 5.0.0 - 5.0.2
1404338400 968536800 1404424800 1404943200 1405130402 1404943200 1404079200
Output for 4.4.0
1404391293 968536800 1404477693 1404996093 1405183295 1404338400 1404079200
Output for 4.3.1 - 4.3.11
1404391293 968536800 1404477693 1404996093 1405183295 1404943200 1404079200
Output for 4.3.0
1442767179 968536800 1442853579 1443371979 1443559181 1443650400 1442181600