3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = strtotime('2014-02-11 24:00:00'); var_dump($test); var_dump(date('Y-m-d H:i:s', $test));
Output for 5.3.0 - 7.1.0
int(1392159600) string(19) "2014-02-12 00:00:00"
Output for 5.1.0 - 5.2.17
bool(false) string(19) "1970-01-01 01:00:00"
Output for 4.3.0 - 5.0.5
int(-1) string(19) "1970-01-01 00:59:59"