Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67185 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44994 invoked from network); 28 Apr 2013 15:28:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2013 15:28:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.51 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.212.51 mail-vb0-f51.google.com Received: from [209.85.212.51] ([209.85.212.51:47827] helo=mail-vb0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/E2-24937-D104D715 for ; Sun, 28 Apr 2013 11:28:29 -0400 Received: by mail-vb0-f51.google.com with SMTP id x19so4733499vbf.10 for ; Sun, 28 Apr 2013 08:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=jGcl0sKBQUkDQQsM8TgSNKIaO/yMFOQHriCR9JGufUk=; b=QUxIgUQ5JnVuE9CrMWTv4VWp8MRThPRq4jnoGdQ2eDD14GHGXqXq7pgfyXNWXGeNZI obFrAikY8WmxIX+Kx+aqARGzvCYMA0KP10ZR7E2ByBwbaANlhY4YC6IjjzHzcVIP+Csb 0vB234GfQ4W2wvsXAeTxiKpDVWU0NH5kp/mAFox9wWcV0N3bU2ZOQ1eeGz5lUP+FR6Aq eOGwkwnKOopd33i61OsCwrKqhrTnaB7XuQAY50YUsol4nKzOXIdmCTHV0Wqrkj7H/bZJ eizgYxCtWLMT1+ct1kqR5otS0i3zd0MV8YEAQDvreivx026py2l/V5nPEkUbHV7ZR5St H+ZA== X-Received: by 10.220.155.8 with SMTP id q8mr25897984vcw.42.1367162907060; Sun, 28 Apr 2013 08:28:27 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.220.131.196 with HTTP; Sun, 28 Apr 2013 08:27:47 -0700 (PDT) In-Reply-To: References: <170891005.EmXIrsICLC@rofl> Date: Sun, 28 Apr 2013 17:27:47 +0200 X-Google-Sender-Auth: 5qyLjhBTdH70RMDjeLKhptbC9_M Message-ID: To: Amaury Bouchard Cc: Ferenc Kovacs , PHP Internals , Patrick Schaaf Content-Type: multipart/alternative; boundary=f46d043bdf9e6cef6c04db6d6bd2 Subject: Re: [PHP-DEV] Continued try blocks From: jpauli@php.net (Julien Pauli) --f46d043bdf9e6cef6c04db6d6bd2 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Apr 27, 2013 at 3:56 PM, Amaury Bouchard wrote: > 2013/4/27 Ferenc Kovacs > >> please don't reuse the continue keyword for it. >> >> There are a bunch of code out there where which uses exceptions in a loop >> context. >> For example you have a retry counter decremented in a loop and you catch >> the exceptions and retry until the retry limit is reached. >> > Fair enough. We can use "resume". > "continue" is just a keyword (syntactic sugar) we sure can change, I like "resume" yes :-) Julien.Pauli --f46d043bdf9e6cef6c04db6d6bd2--