3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('l jS F (Y-m-d)', strtotime('first thursday january 2013'));
Output for 5.1.0 - 7.2.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)