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