3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $now = time(); echo strtotime("midnight", $now);
based on Wl7Qm
Output for 5.1.0 - 7.2.0
1430863200
Output for 4.3.0 - 5.0.5
-1