thinkphp里try catch问题

【thinkphp里try catch问题】

thinkphp里try catch问题

文章插图
thinkphp中的Try catch问题简介thinkphp中的try catch问题:控制器中有一个方法如下 公共函数t(){ try { throw new \ Exception( quot;哈哈 quot);}catch(异常$ e){ dump($ e);