PHP的異常是後來新增特性,與JAVA/C#的異常不同,PHP異常需要手動拋出 throw new ... 異常可以使用 try{}catch(){} 來捕獲捕獲,捕獲之後後續代碼可以繼續執行;而錯誤 ...
確定! 回上一頁