Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62675 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 290 invoked from network); 2 Sep 2012 17:12:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2012 17:12:57 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:37592] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/01-17065-89393405 for ; Sun, 02 Sep 2012 13:12:56 -0400 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 82D5FDE13E; Sun, 2 Sep 2012 18:12:53 +0100 (BST) Date: Sun, 2 Sep 2012 18:12:53 +0100 (BST) X-X-Sender: derick@whisky.home.derickrethans.nl To: Anthony Ferrara cc: Andrew Faulds , internals@lists.php.net In-Reply-To: Message-ID: References: <50431A98.6020101@ajf.me> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Exceptions Vs Errors From: derick@php.net (Derick Rethans) On Sun, 2 Sep 2012, Anthony Ferrara wrote: > > I don't wish to derail this thread from the get-go, but what's your > > opposition to moving to exceptions? > > I'm absolutely for moving to exceptions. I asked this question as a > thought exercise to see 1. If the current error system can be improved, or > 2. To identify if it can't, and exceptions really are the better route. What you are staying here is really: if we can't improve error handling, let's break all code out there. Derick