Is there any way to get the previous three months if I am giving the year and month as input (in PHP). Suppose I am giving the values,
$month = "2";
$year = 2016;
It should return like below array,
Array ( [0] => '11 2015' [1] => '12 2015' [2] => '01 2016')