3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime(" ")); var_dump(strtotime(",")); var_dump(strtotime(".")); var_dump(strtotime(". .. .. .. .... .. . .. .")); var_dump(strtotime(". .. .. .. ..,,,.. .. . .. .")); var_dump(strtotime("bogus"));
Output for 7.1.21 - 7.1.22, 7.2.9 - 7.2.10
int(1537123732) int(1537123732) int(1537123732) int(1537123732) int(1537123732) bool(false)
Output for 5.4.0 - 5.4.32, 5.4.34 - 5.5.16, 5.5.18 - 5.6.30, hhvm-3.10.1 - 3.11.1, hhvm-3.13.2, hhvm-3.17.3, hhvm-3.18.5 - 3.19.2, hhvm-3.21.0 - 3.22.0, 7.0.0 - 7.0.27, 7.0.29 - 7.1.3, 7.1.5 - 7.1.20, 7.2.0 - 7.2.8
int(1532392704) int(1532392704) int(1532392704) int(1532392704) int(1532392704) bool(false)
Output for hhvm-3.12.14, hhvm-3.15.4, hhvm-3.18.4, hhvm-3.20.2, 7.1.4
int(1532392705) int(1532392705) int(1532392705) int(1532392705) int(1532392705) bool(false)
Output for 5.4.33, 5.5.17, 7.0.28
int(1534115681) int(1534115681) int(1534115681) int(1534115681) int(1534115681) bool(false)