Imagem de fundo

Considerando a execução do trecho de código...

Considerando a execução do trecho de código abaixo:


<?php

class CustomExceptionl extends Exception { }

class CustomException2 extends Exception { }


try {

---throw new CustomException2("mensagem");

} catch (CustomExceptionl $exception) {

---echo ' custoial- ';

} catch (Exception $exception) {

---echo 'exception-';

} catch (CustomException2 $exception) {

---echo 'custom2-';

} finally {

---echo 'finally';

}


O valor retornado será


A

exception-finally


B

customl-exception-finally


C

custom2-exception-finally


D

customl-exception-custom2-


E

exception-custom2-