[PHP-DEV] Re: [Zend Engine 2] Re: Exceptions and error handling in general

2003-03-27 Thread Per Lundberg
On Thu, 2003-03-27 at 21:42, Andi Gutmans wrote: I get your points. I think I'm gonna shut up for now and try using ZendEngine2 a bit, to see what it's actually like in the Real World. Thanks for your time. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 We

[PHP-DEV] Re: [Zend Engine 2] Re: Exceptions and error handling in general

2003-03-27 Thread Andi Gutmans
At 08:08 PM 3/27/2003 +0100, Per Lundberg wrote: > >Of course, it should not be done in a way to break backward > >compatibility if at all possible. > I consider having half of PHP throw errors and the other half as throwing > exceptions to break BC. Even though we are talking about functionalites

[PHP-DEV] Re: [Zend Engine 2] Re: Exceptions and error handling in general

2003-03-27 Thread Per Lundberg
On Thu, 2003-03-27 at 19:07, Andi Gutmans wrote: > >How about being able to handle errors in a clean and elegant way? > >Exceptions make this very convenient. > We have an error handler. Context-local error handling is much more convenient (not to mention the elegance of being able to handle error