No. I think you mean the java construct where every class has to define
the exceptions it throws. There is no language checking on which
exceptions you pass on or catch.
Best regards
chan.marcus@gmail.com wrote:
> Hi all,
>
> I am new to PHP. In PHP5, could I declare what exceptions the methods
> would throw on an interface?
> Thanks.
>