3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $c_date = strtotime('0000-00-00 00:00:00'); var_dump($c_date); $v_date = strtotime('2014-4-9 12:54:00'); var_dump($v_date);
Output for 5.2.6 - 7.1.0
int(-62169985172) int(1397040840)
Output for 5.2.4 - 5.2.5
bool(false) int(1397040840)
Output for 4.3.0, 5.1.0 - 5.2.3
int(943916400) int(1397040840)
Output for 4.3.1 - 5.0.5
int(943920000) int(1397048040)