newbie question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

I am new to PHP. In PHP5, could I declare what exceptions the methods
would throw on an interface?

Re: newbie question

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 wrote:
Quoted text here. Click to load it

Site Timeline