Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32834 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18964 invoked by uid 1010); 17 Oct 2007 17:39:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18949 invoked from network); 17 Oct 2007 17:39:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2007 17:39:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.5 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.6 Received: from [82.94.239.5] ([82.94.239.5:35995] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/66-05004-5B846174 for ; Wed, 17 Oct 2007 13:39:02 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id l9HHcvq9002341; Wed, 17 Oct 2007 19:38:58 +0200 Date: Wed, 17 Oct 2007 19:38:56 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: Lukas Kahwe Smith cc: "PHP Developers Mailing List " In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] exception policy for core From: derick@php.net (Derick Rethans) On Wed, 17 Oct 2007, Lukas Kahwe Smith wrote: > Hi, > > I remember that we discussed the question of exception throwing from core in > the very early days of php 5, when the suggestion of turning all errors into > exceptions first came up. I remember that we decided that exceptions should > only be thrown from core on constructor errors by default. Along the lines of > PDO, extensions could allow users to explicitly enable an exception mode. > > This popped up again as I picked up on IRC that the imagick extension is quite > exception throwing happy. I do realize that this is a pecl extension, so maybe > core rules do not apply (core<->pecl relations should also be addressed ASAP > if you ask me). > > Anywas, am I remembering things correctly? Is this still our policy? If not do > we have (want?) a policy? In my opinion, this is still the policy that should be added to the CS. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org