3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $yesterday = date('Y-m-d H:I:s', strtotime('yesterday at midnight')); echo $yesterday;
Output for 5.1.0 - 7.3.0rc4
1970-01-01 01:0:00
Output for 4.3.0 - 5.0.5
1970-01-01 00:0:59