<?php var_dump( date('Y-m-d', strtotime('2018-8' . ' last day')) );
You have javascript disabled. You will not be able to edit any code.