3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime('2014-07-25 24:00:00')); var_dump(strtotime('2014-07-25 24:00')); var_dump(strtotime('2014-07-25 00:00:00'));
Output for 5.3.0 - 7.1.0
int(1406325600) int(1406325600) int(1406239200)
Output for 5.1.0 - 5.2.17
bool(false) bool(false) int(1406239200)
Output for 4.3.0 - 5.0.5
int(-1) int(-1) int(1406239200)