Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9263 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15202 invoked by uid 1010); 16 Apr 2004 16:01:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15126 invoked from network); 16 Apr 2004 16:01:34 -0000 Received: from unknown (HELO xaxa.search.ch) (195.141.85.118) by pb1.pair.com with SMTP; 16 Apr 2004 16:01:34 -0000 Received: from localhost (localhost [127.0.0.1]) by xaxa.search.ch (Postfix) with ESMTP id 32C776CFB6; Fri, 16 Apr 2004 18:01:34 +0200 (CEST) Received: by xaxa.search.ch (Postfix, from userid 65534) id 17DC26D875; Fri, 16 Apr 2004 18:01:33 +0200 (CEST) Received: from cschneid.com (ultrafilter2-i [192.168.85.3]) by xaxa.search.ch (Postfix) with ESMTP id 521FE6CFB6; Fri, 16 Apr 2004 18:01:32 +0200 (CEST) Message-ID: <4080035B.1090404@cschneid.com> Date: Fri, 16 Apr 2004 18:01:31 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 X-Accept-Language: en-us, en, de-ch MIME-Version: 1.0 To: john@coggeshall.org Cc: Derick Rethans , PHP Internals References: <00cc01c422e1$46a4adc0$0100a8c0@pc07653> <1082070778.17792.18.camel@coogle.localdomain> <1082130174.31819.51.camel@coogle.localdomain> In-Reply-To: <1082130174.31819.51.camel@coogle.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on xaxa.search.ch X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Virus-Scanned: by AMaViS 0.3.12pre8 Subject: Re: [PHP-DEV] Exceptions and a real example: Tidy From: cschneid@cschneid.com (Christian Schneider) John Coggeshall wrote: > E_WARNINGs are exceptions. I think this is wrong. For E_WARNING the program flow continues unchanged whether you handle the return value of e.g. fopen or not. For exceptions you _have_ to handle it, otherwise your program aborts. Two different things. - Chris