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-11 09:41:27" int(1392159600)
Output for 5.1.0 - 5.2.17
bool(false) string(19) "2014-02-11 09:41:27" bool(false)
Output for 4.3.0 - 5.0.5
int(-1) string(19) "2014-02-11 09:41:27" int(-1)