3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('F',strtotime("February")); 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.2.0 - 7.1.0
February1387632650 968536800 1387719050 1388237450 1388424652 1388012400 1387148400
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.1.6
January1387632650 968536800 1387719050 1388237450 1388424652 1388012400 1387148400
Output for 4.3.0 - 4.3.11, 5.0.3 - 5.0.4
January1387632650 968536800 1387719050 1388237450 1388424652 1388617200 1387148400
Output for 5.0.0 - 5.0.2
January1387580400 968536800 1387666800 1388185200 1388372402 1388617200 1387148400