Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2442 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60976 invoked from network); 19 Jun 2003 18:57:17 -0000 Received: from unknown (HELO smtp1.ActiveState.com) (209.17.183.249) by pb1.pair.com with SMTP; 19 Jun 2003 18:57:17 -0000 Received: from smtp3.ActiveState.com (smtp3.ActiveState.com [192.168.3.19]) by smtp1.ActiveState.com (8.12.9/8.12.9) with ESMTP id h5JIvFj0016798; Thu, 19 Jun 2003 11:57:15 -0700 Received: from caraveo.com (leverage.ActiveState.com [192.168.3.203]) by smtp3.ActiveState.com (8.12.9/8.12.9) with ESMTP id h5JIvFD2003745; Thu, 19 Jun 2003 11:57:15 -0700 Message-ID: <3EF2078B.1000708@caraveo.com> Date: Thu, 19 Jun 2003 11:57:15 -0700 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?Marcus_B=F6rger?= CC: Sterling Hughes , internals@lists.php.net References: <1055981706.8233.10.camel@hasele> <1066290321.20030619154615@post.rwth-aachen.de> <3EF204D9.2000808@caraveo.com> <34936813.20030619205210@post.rwth-aachen.de> In-Reply-To: <34936813.20030619205210@post.rwth-aachen.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] php5 beta From: shane@caraveo.com (Shane Caraveo) I knew I should have kept my mouth shut... Marcus B=F6rger wrote: > Hello Shane, >=20 > just to repeat there weren't any exceptions in php4=20 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: >=20 > SC> +0 While I really like the idea, auto-exceptions for errors would = mess=20 > SC> up library code that isn't written to use exceptions. If that prob= lem=20 > SC> can be dealt with correctly, then I'd be +1. Otherwise, we need a = new=20 > SC> error level. > SC> Shane >=20 > SC> Marcus B=F6rger wrote: >=20 >>>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...= =20 >>> >>>SH> http://www.php.net/~sterling/php5/BETA >>> >>>SH> any thing i missed? anything extraeneous? >>> >>>SH> -Sterling >>>SH> --=20 >>>SH> "Nothing is particularly hard if you divide it into small jobs."=20 >>>SH> - Henry Ford >>> >>> >>> >>> >=20 >=20 >=20 >=20 >=20 >=20