3v4l.org

run code in 200+ 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.30, hhvm-3.12.14 - 3.17.3, hhvm-3.18.5 - 3.19.2, hhvm-3.21.0 - 3.22.0, 7.0.0 - 7.3.0beta1
1525544942 968536800 1525631342 1526149742 1526336944 1525903200 1525039200
Output for hhvm-3.10.1 - 3.11.1, hhvm-3.18.4, hhvm-3.20.2
1525544943 968536800 1525631343 1526149743 1526336945 1525903200 1525039200
Output for 4.3.0 - 4.3.11, 5.0.3 - 5.0.4
1525544942 968536800 1525631342 1526149742 1526336944 1526508000 1525039200
Output for 5.0.0 - 5.0.2
1525471200 968536800 1525557600 1526076000 1526263202 1526508000 1525039200