Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9266 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63991 invoked by uid 1010); 16 Apr 2004 16:45:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63967 invoked from network); 16 Apr 2004 16:45:04 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 16 Apr 2004 16:45:04 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.10/8.12.10) with ESMTP id i3GGiust024740; Fri, 16 Apr 2004 18:44:56 +0200 Date: Fri, 16 Apr 2004 18:44:25 +0200 (CEST) X-X-Sender: derick@localhost To: Christian Schneider cc: john@coggeshall.org, PHP Internals In-Reply-To: <40800930.2070302@cschneid.com> Message-ID: References: <00cc01c422e1$46a4adc0$0100a8c0@pc07653> <1082070778.17792.18.camel@coogle.localdomain> <1082130174.31819.51.camel@coogle.localdomain> <4080035B.1090404@cschneid.com> <1082132272.31824.56.camel@coogle.localdomain> <40800930.2070302@cschneid.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Exceptions and a real example: Tidy From: derick@php.net (Derick Rethans) On Fri, 16 Apr 2004, Christian Schneider wrote: > John Coggeshall wrote: > > the best compromise I can reach without discarding exceptions entirely, > > which I believe is even more wrong for OO code. > > I disagree. I lost track over the last couple of days, what is everyone > else's view on this? I disgree with this behavior too. E_WARNINGs were never supposed to abort a script, that's what we have E_ERRORs for. (Making E_ERROR an exception in an OO context is fine, as when it's unhandled it should abort the script, just like in PHP 4 and all other non-oo extensions). Derick