Make an array for your month names like so
$montnames = ['', "jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dez"];
Trick is to leave first one empty, because months begin with 1 and arrays count at 0.
echo $month[2]; // feb
2
solved Month number to month name in php