try like this but still same
<?
$monthValue = '10';
$monthArray = array('January','February','March','April','May','June','July','August','September','October','November','December');
$monthValueArray = array('01','02','03','04','05','06','07','08','09','10','11','12');
$i = -1;
while ($i != count($monthArray)){
$i++;
if ($monthValue == $monthValueArray[$i]){
$format_date_month = $monthArray[$i]
}
}