3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump((bool) '0000-00-00 00:00:00'); var_dump((int) '0000-00-00 00:00:00'); var_dump(strtotime('0000-00-00 00:00:00'));
Output for 5.2.6 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(true) int(0) int(-62169985172)
Output for 5.2.4 - 5.2.5
bool(true) int(0) bool(false)
Output for 4.3.0 - 5.2.3
bool(true) int(0) int(943916400)