php 错误处理
2019-05-14 本文已影响0人
昱弟丶
try{
throw new Exception('');
}catch (Exception $exception){
$error[] = $exception->getMessage();
}
try{
throw new Exception('');
}catch (Exception $exception){
$error[] = $exception->getMessage();
}