3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d H:i:s', strtotime('first day of this month midnight'));
Output for 5.6.38 - 7.3.0rc3
2018-10-01 00:00:00