Marcus Börger wrote:
Hello Shane,
just to repeat there weren't any exceptions in php4
Yes, you don't have to tell me the obvious.
and the things
that'll use exceptions in php5 will require full rewrite anyway. So i don't see any problem.
try { function_call_to_some_preexisting_library_that_doesnt_do_exceptions() } catch(e) { }
With auto exceptions, that breaks any error control the existing library might have. So to make my opinion a bit stronger, -10 unless someone is clever enough to make it work in all instances.
Shane
Thursday, June 19, 2003, 8:45:45 PM, you wrote:
SC> +0 While I really like the idea, auto-exceptions for errors would mess SC> up library code that isn't written to use exceptions. If that problem SC> can be dealt with correctly, then I'd be +1. Otherwise, we need a new SC> error level.
SC> Shane
SC> Marcus Börger wrote:
Hello Sterling,
We need exceptions instead of errors whenever a try/catch block is entered or a constructor gets called. This is a very easy thing to implement but we need a consensus before doing so.
regards marcus
p.s.: And i'd still like to have final classes
Thursday, June 19, 2003, 2:15:06 AM, you wrote:
SH> This is what I can think of for a concrete todo before the beta...
SH> http://www.php.net/~sterling/php5/BETA
SH> any thing i missed? anything extraeneous?
SH> -Sterling
SH> -- SH> "Nothing is particularly hard if you divide it into small jobs." SH> - Henry Ford
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php