3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $datestring = "November 16, 2013"; //$date = DateTime::createFromFormat("MMM dd , yyyy",$datestring); $date = Date("M d, Y"); var_dump($date); $datetime = strtotime($datestring); var_dump(date('M',$datetime));
Output for 4.3.0 - 7.1.0
string(12) "Nov 26, 2013" string(3) "Nov"