PHP RFC: Catching Multiple Exception Types PHP 7.0.x에서 PHP 7.1.x에 대한 이행 예외 확장하기 try { // Some code... } catch (ExceptionType1 $e) { // Code to handle the exception } catch (ExceptionType2 $e) { // Same code to handle the exception } catch (Exception $e) { // ... } try { // Some code... } catch (ExceptionType1 | ExceptionType2 $e) { // Code to handle the exception } catch (\Exception $e) { // .....