Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67824 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95029 invoked from network); 25 Jun 2013 19:56:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2013 19:56:14 -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.214.47 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.47 mail-bk0-f47.google.com Received: from [209.85.214.47] ([209.85.214.47:34058] helo=mail-bk0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/42-18197-DD5F9C15 for ; Tue, 25 Jun 2013 15:56:14 -0400 Received: by mail-bk0-f47.google.com with SMTP id jg1so4559274bkc.34 for ; Tue, 25 Jun 2013 12:56:10 -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=fdfjjD+nC03I9hrlg3OBlOaF4nv1SeK9BP/WycWJSI8=; b=uvb3xn5SAd1MIsLn1fUHW5s027EKjpS4MOdKZHLt6N6K4u3h9S+XGchJctCA/LudhT rM+s9+Bd+hoJbKjXm2iAc4/8F1l6S8C+of3hFAX0akXE8Sicx2WEy9LxlwEaDMq7f0Md FacV3XJ+KuYu/XJA/NvI1RVghQvSLoNwRN7cIKSKr9Yg/ZH+i628G4WmzCayQWogW0x8 uT059ZrnGD1cs6DNzSAB0BUmgYzux//UPMTiEgkn5/gV4nz6SEYINx5YYXNnNi1BXvMr JDaec+39MnGG/PZPzhLKSwnHo0LkDFcsh1YgNasEB6mKMSYCNKUDS6FFm64VZ+7pt5QU ojTQ== MIME-Version: 1.0 X-Received: by 10.204.52.137 with SMTP id i9mr58825bkg.183.1372190170283; Tue, 25 Jun 2013 12:56:10 -0700 (PDT) Received: by 10.204.25.84 with HTTP; Tue, 25 Jun 2013 12:56:10 -0700 (PDT) In-Reply-To: <51C9F485.6050709@sugarcrm.com> References: <4ED7146272E04A47B986ED49E771E347BB4DF6F235@Ikarus.ameusgmbh.intern> <51C9DED2.5080401@sugarcrm.com> <51C9F485.6050709@sugarcrm.com> Date: Tue, 25 Jun 2013 13:56:10 -0600 Message-ID: To: Stas Malyshev Cc: Michael Wallner , Joost Koehoorn , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c37984aa306004dfffeb43 Subject: Re: [PHP-DEV] RE: Announcing RFC 'Anonymous Catches' From: morrison.levi@gmail.com (Levi Morrison) --001a11c37984aa306004dfffeb43 Content-Type: text/plain; charset=ISO-8859-1 Regarding all of the discussion about the unused variable: If your catch blocks are too long or too complicated to be able to tell that the variable is unused, then I highly suggest you refactor that section. --- To me, the only maybe-useful portion of this discussion would be the empty catch which is more clear that it is a final resort catch than just catching \Exception. Apparently the opinions on this are quite divided, though. --001a11c37984aa306004dfffeb43--