3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('d/m/Y H:i:s', strtotime('midnight'));
based on qXPmp
Output for 5.1.0 - 7.1.0
13/10/2014 00:00:00
Output for 4.3.0 - 5.0.5
01/01/1970 00:59:59