3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strtotime('2014-03-05 02:00:00')."\n"; echo strtotime('next day', strtotime('2014-03-05 02:00:00'))."\n"; echo strtotime('next Sunday', strtotime('2014-03-05 02:00:00'))."\n";
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1393981200 1394067600 1394319600
Output for 4.3.0 - 4.3.11, 5.0.3 - 5.0.4
1393981200 1394154000 1394924400
Output for 5.0.0 - 5.0.2
1393981200 1394146800 1394924400