<?php

$mhoje = date("M");

var_dump(date('d/m/Y', strtotime('last day of previous month')));

$m1 = date('M', strtotime('last day of previous month'));
$em1 = ucfirst(strftime('%b', strtotime($m1)));

echo "$mhoje / $m1 / $em1";