Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32855 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8455 invoked by uid 1010); 18 Oct 2007 16:32:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8440 invoked from network); 18 Oct 2007 16:32:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2007 16:32:45 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:47621] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/08-61918-AAA87174 for ; Thu, 18 Oct 2007 12:32:42 -0400 Received: from localhost (h1149922.serverkompetenz.net [85.214.94.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id D401A1B3657; Thu, 18 Oct 2007 18:32:36 +0200 (CEST) Date: Wed, 17 Oct 2007 22:11:45 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <83290732.20071017221145@marcus-boerger.de> To: Derick Rethans CC: Lukas Kahwe Smith , "PHP Developers Mailing List " In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] exception policy for core From: helly@php.net (Marcus Boerger) Hello Derick, right, maybe we need writen down rules easy to read for pecl and core other then the CODING_STYLES bile. marcus Wednesday, October 17, 2007, 7:38:56 PM, you wrote: > 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 Best regards, Marcus