3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((bool) '0000-00-00 00:00:00'); var_dump(strtotime('0000-00-00 00:00:00'));
Output for 5.2.6 - 5.3.16, 5.3.18 - 5.3.22, 5.3.24 - 7.2.0
bool(true) int(-62169985172)
Output for 5.3.17, 5.3.23
Could not open input file: /in/NHfso
Process exited with code 1.
Output for 5.2.4 - 5.2.5
bool(true) bool(false)
Output for 4.3.0 - 5.2.3
bool(true) int(943916400)