3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime('1000-00-00')); var_dump(strtotime('0000-00-00 00:00:00'));
based on b7bTI
Output for 5.2.6 - 7.2.0
int(-30612989972) int(-62169985172)
Output for 5.2.4 - 5.2.5
bool(false) bool(false)
Output for 5.1.0 - 5.2.3
bool(false) int(943916400)
Output for 4.3.0 - 5.0.5
int(-30612989972) int(943916400)