3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $todaytime = date("Y-m-d H:i:s", strtotime( '-1 days' )); echo $todaytime;
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.6.38, hhvm-3.10.1 - 3.12.14, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.2.11
2014-05-27 15:53:38
Output for hhvm-3.13.2
2014-05-27 15:53:39
Output for 5.0.0 - 5.0.2
2014-05-27 00:00:00