Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102592 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27765 invoked from network); 4 Jul 2018 22:14:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2018 22:14:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:33196] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/D9-55607-BD64D3B5 for ; Wed, 04 Jul 2018 18:14:52 -0400 Received: (qmail 130705 invoked by uid 89); 4 Jul 2018 22:14:47 -0000 Received: from unknown (HELO mail-yw0-f169.google.com) (yohgaki@ohgaki.net@209.85.161.169) by 0 with ESMTPA; 4 Jul 2018 22:14:47 -0000 Received: by mail-yw0-f169.google.com with SMTP id e23-v6so1821721ywe.13 for ; Wed, 04 Jul 2018 15:14:47 -0700 (PDT) X-Gm-Message-State: APt69E1yDM8WMoqa8ecETZymECFwQZV4K6GDJeiagW0pXvCVgXNkjoW1 SVmX369w2cLW9zi7zFsELYhib/XgFP9Z0PEEZw== X-Google-Smtp-Source: AAOMgpfiqhvaCuz9qKhvVs+HQca7y0DXlmAk1t1zUno2P6CXytEvQibsl1CtuQS1EXf9VpP/sDaW7YgG0eVQhTIik7s= X-Received: by 2002:a81:92ce:: with SMTP id j197-v6mr1715765ywg.37.1530742481381; Wed, 04 Jul 2018 15:14:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 5 Jul 2018 07:14:04 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000d87149057033c19a" Subject: Re: [PHP-DEV] [RFC] Deprecate and remove continue targeting switch From: yohgaki@ohgaki.net (Yasuo Ohgaki) --000000000000d87149057033c19a Content-Type: text/plain; charset="UTF-8" On Mon, Jun 25, 2018 at 1:17 AM Nikita Popov wrote: > Hi internals, > > Another small deprecation for your consideration... > > https://wiki.php.net/rfc/continue_on_switch_deprecation > > Regards, > Nikita > This great improvement. IMO. Since the issue is incompatibility between current "continue" and "break", how about provide a tool replace "continue" to "break" where it is applicable. (Raise error for invalid "continue" usage also. This would be a bug most likely.) Then there wouldn't be compatibility issue anymore. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --000000000000d87149057033c19a--