1. 語法錯誤: 2. 運行時錯誤: 3. 邏輯錯誤: 二、 *在php.ini配置文件中,常用的錯誤和日志的配置。 error_reporting:錯誤等級 display_errors:在瀏覽器中是否顯示錯誤信息 log_errors=On; 是否啟動日志記錄