Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1202 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26365 invoked from network); 4 May 2003 15:26:54 -0000 Received: from unknown (HELO nils.bezeqint.net) (192.115.106.38) by pb1.pair.com with SMTP; 4 May 2003 15:26:54 -0000 Received: from mr5.bezeqint.net (pip-15.bezeqint.net [192.115.106.15]) by nils.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP id C343A4691 for ; Sun, 4 May 2003 18:23:13 +0300 (IDT) Received: from mail.zend.com (bzq-117-235-230.cust.bezeqint.net [192.117.235.230]) by mr5.bezeqint.net (Mirapoint Messaging Server MOS 3.3.3-GR) with SMTP id AGU64289; Sun, 4 May 2003 18:26:50 +0300 (IDT) Received: (qmail 11035 invoked from network); 4 May 2003 14:26:44 -0000 Received: from localhost (HELO andi-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 4 May 2003 14:26:44 -0000 Message-ID: <5.1.0.14.2.20030503220627.036a9888@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 03 May 2003 22:32:18 -0400 To: marcus.boerger@post.rwth-aachen.de, internals@lists.php.net In-Reply-To: <5.1.0.14.2.20030504021938.09452980@mailbox.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] exceptions instead of errors From: andi@zend.com (Andi Gutmans) References: <5.1.0.14.2.20030504021938.09452980@mailbox.rwth-aachen.de> At 02:53 AM 5/4/2003 +0200, Marcus B=F6rger wrote: >Some help of the engine would be good: >- automatically set EH_THROW mode at "try" >- automatically set EH_NORMAL mode at "catch" (first outmost catch) Huh? I think it's definitely not obvious that I'd want these to happen=20 automatically. Actually I personally wouldn't, because I'd prefer PHP to=20 continue the way it works and only use exceptions in user-land. >If noone objects i will commit this on monday evening. Please don't before this is discussed. We have discussed this kind of thing= =20 quite a few times and our opinion was that error handling in PHP shouldn't= =20 be changed. We wouldn't want some configuration switch to change how the=20 scripts work nor is it a good idea if the same script behaves differently=20 according to one switch. Anyway, we can discuss this again but definitely I don't think we should=20 jump the gun with commits in this area until people really think of the=20 whole picture. We have a large user base out there and we still want all of= =20 the user-base to "talk" in the same language. I won't really be around for the next two weeks so maybe it's best to wait= =20 or in the least make sure Zeev takes part in this discussion. Thanks, Andi P.S. -BTW, what does SQLite do?