Daha sağlıklı olacaktır;

echo '01-'.date('m-Y', strtotime('last day of next month'));