3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = strtotime("February"); var_dump(array( 'type' => gettype($str), 'val' => $str, 'date' => date('F',$str) ));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(3) { ["type"]=> string(7) "integer" ["val"]=> int(1392937200) ["date"]=> string(8) "February" }
Output for 5.1.0 - 5.1.6
array(3) { ["type"]=> string(7) "boolean" ["val"]=> bool(false) ["date"]=> string(7) "January" }
Output for 4.3.0 - 5.0.5
array(3) { ["type"]=> string(7) "integer" ["val"]=> int(-1) ["date"]=> string(7) "January" }