3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $year = 2013; echo date("l jS F (Y-m-d)", strtotime("$year-01-03 last Thursday"));
Output for 5.1.0 - 7.1.0
Thursday 27th December (2012-12-27)
Output for 4.3.0 - 5.0.5
Thursday 3rd January (2013-01-03)