phpword中进行换行操作: $re['work_experience'] = str_replace(array("\r", "\n", "\r\n"), "<w:br/>", $re['work_experience']);