Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62078 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17896 invoked from network); 7 Aug 2012 06:53:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2012 06:53:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:54294] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8B/50-14886-E5BB0205 for ; Tue, 07 Aug 2012 02:53:18 -0400 Received: by lbgc1 with SMTP id c1so3456199lbg.29 for ; Mon, 06 Aug 2012 23:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hHCJ4PaTYjAjRB9ycZZWJdoN71uaYwtRMbRCeFMxgfk=; b=TTWzIEQ9ZW89JX1AL9ifuoi8fwzRWHGoa4qthrLUKs+W986vOfl2alG8DA4uAu91j0 FGUSpi1i8zgtXu93E/uWeP1Ty3RZF8KL11pzuJzMLYcRjIYAGYfIJp7RkFUY42BxDTSO CG/b9sohXE9vGfw43XA6e1WScexyMS4hb2S2Tyvd6UkhOS4GkFihRXT8/KoBxYE/wrRX IWbcxZQb6Lnkp2WoVqctwVm+t4Z0G254suyOOYGS+PYWrSCGbtUrLLF3cQc9BVUyy4/b 4iMFdxv4OWekMuEGx7LnG7FXaNT+Wz6UHeVxHuNlLvkkJ7zxltJ/gRxL6dInISeBUtCK 2RFA== MIME-Version: 1.0 Received: by 10.152.112.234 with SMTP id it10mr10356272lab.36.1344322395445; Mon, 06 Aug 2012 23:53:15 -0700 (PDT) Received: by 10.112.1.199 with HTTP; Mon, 6 Aug 2012 23:53:15 -0700 (PDT) In-Reply-To: <5020ABB3.7060400@sugarcrm.com> References: <501F46BE.4040407@sugarcrm.com> <50200FBD.2010506@sugarcrm.com> <5020ABB3.7060400@sugarcrm.com> Date: Tue, 7 Aug 2012 00:53:15 -0600 Message-ID: To: Stas Malyshev Cc: Anthony Ferrara , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Error handling brainstorming From: morrison.levi@gmail.com (Levi Morrison) >> errors, you can't just fread the return value. You *need* to change your >> execution flow based on that error. Therefore, it is exceptional. > > That's exactly what I am saying. Exceptions should not be a means of > flow control, and that's exactly what are you doing here. I agree that exceptions should not be a means of flow control except when something exceptional has happened. The difference is between what you think is exceptional and what I do. Of course you are welcome to believe what you want to and voice your opinion, but I think I speak for the rest of us when I say, "We've heard your opinion, loud and clear." It's okay. Let the rest of us voice our opinions.