3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $timeStamp = strtotime("February"); var_dump(array( 'stamp' => $timeStamp, 'full date' => date('Y-m-d H:i:s'), 'month' => date('F',$timeStamp) ));
Output for 5.2.0 - 7.1.0
array(3) { ["stamp"]=> int(1391209200) ["full date"]=> string(19) "2014-02-01 01:39:59" ["month"]=> string(8) "February" }
Output for 5.1.0 - 5.1.6
array(3) { ["stamp"]=> bool(false) ["full date"]=> string(19) "2014-02-01 01:39:59" ["month"]=> string(7) "January" }
Output for 4.3.0 - 5.0.5
array(3) { ["stamp"]=> int(-1) ["full date"]=> string(19) "2014-02-01 01:39:59" ["month"]=> string(7) "January" }