3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('l jS F (Y-m-d)', strtotime('first day of april'));
Output for 5.3.0 - 7.1.0
Tuesday 1st April (2014-04-01)
Output for 4.3.0 - 5.2.17
Thursday 1st January (1970-01-01)