3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('l jS F (Y-m-d)', strtotime('first thursday january 2013'));
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Thursday 3rd January (2013-01-03)
Output for 4.3.5 - 5.0.5
Friday 4th January (2013-01-04)
Output for 4.3.0 - 4.3.4
Friday 6th July (2018-07-06)