3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('today midnight'); echo "\n"; echo strtotime('tomorrow - 1 second');
based on NfU44
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
31201431pm14 102331102320231 1414796399
Output for 5.1.0 - 5.1.1
31201431pm14 102331102320231
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5
31o31pm14 102331102320231 1414848207
Output for 5.0.0 - 5.0.2
31o31pm14 102331102320231 1414796401