Add end of php lines