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 4.4.0 - 4.4.9, 5.0.5 - 5.6.28, 7.0.0 - 7.1.0
1479091407 968536800 1479177807 1479696207 1479883409 1479337200 1478473200
Output for hhvm-3.13.2
1479091410 968536800 1479177810 1479696210 1479883412 1479337200 1478473200
Output for hhvm-3.10.0 - 3.12.0
1479091412 968536800 1479177812 1479696212 1479883414 1479337200 1478473200
Output for 4.3.0 - 4.3.11, 5.0.3 - 5.0.4
1479091407 968536800 1479177807 1479696207 1479883409 1479942000 1478473200
Output for 5.0.0 - 5.0.2
1479078000 968536800 1479164400 1479682800 1479870002 1479942000 1478473200