Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102633 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38417 invoked from network); 7 Jul 2018 09:20:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2018 09:20:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.41 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.41 mail-it0-f41.google.com Received: from [209.85.214.41] ([209.85.214.41:50801] helo=mail-it0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/41-55607-4E5804B5 for ; Sat, 07 Jul 2018 05:20:37 -0400 Received: by mail-it0-f41.google.com with SMTP id u4-v6so19492192itg.0 for ; Sat, 07 Jul 2018 02:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+UdwYhs2psem74qYkhdnCmsMDnCJI6bj8g+C4TwcUtQ=; b=VHYa2MaxkKCF1O6oKLZsd34upZYZr4M7l9Qy3TLiKDjbRXlBlyfkdeeQImTC7JtGVd gEeiFKVAhH05LjIaLFkrWJEdt97heKGAjdCiEQ+ruUoRcb2JfmTsLxEdNPSdYrAWoQ10 hXV9QoOGG8mY7c7mis+as6BRB0L84dMGVqRgQ8v6sYmsNeI6zUC9JC2JZW7DJDOgvBEE Tt6MeMsmgg1EBxEngu6ytAucboVxx7kc4rohVEN5+5Gt/v/F1/7k1M14N0pboFLvslTJ HTQXosOl4hzbsnH46wVUqqVqDrLJL9R7yiIB65hzB1Hww1YDVrkmcSkcvLhpr7SwUuF5 QAXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+UdwYhs2psem74qYkhdnCmsMDnCJI6bj8g+C4TwcUtQ=; b=WkLEE3BXAQK1bCH/88qkkMgPYemWg6X2LiOnGAw/wsVaCO/c3lleQDs+cWC/VKXrUc qkZyd/H+EdiM77q0FdGmlC1ZO4norULUMWk4HuAOLdcoDbulYBhq177vqal/7k8xpuR/ LEbq7/ocWlCdYUILW1QqEFHksgcSQTEN8B/VZvr0tJZyHuzbFnE8Ivm6lpnU+cIBPBl7 pwaYWY85QnQT5YtW2CVillfNF3Li9VmfuhYVe7nsaSQb61gy8gTr3rMaUu/uA8ZuG652 ohcGlmK0oBe91DbHSttnO/t4B9vBZofUT0A0IpG3mjNNoPna3aKjmQLMMUzJFzXogzhI xjFg== X-Gm-Message-State: APt69E2PGIVPXxIQKHItnRTaaZ4jnS7C+dpiaPcRnNY4ARRT8XMGAq4D ohTrgkMUsT0vHGI4lrJT6/i3/4t5d5wmMHqx69E= X-Google-Smtp-Source: AAOMgpcf6mAL8ATo00Di2qxtR5FJqiigbov3uAFmoHiswNER5hMPvhMhH5xFOzICZ4VmXfLB7VHVg1ucDTsThznCeMI= X-Received: by 2002:a24:3c41:: with SMTP id m62-v6mr10180529ita.63.1530955234362; Sat, 07 Jul 2018 02:20:34 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:148a:0:0:0:0:0 with HTTP; Sat, 7 Jul 2018 02:20:33 -0700 (PDT) In-Reply-To: References: Date: Sat, 7 Jul 2018 11:20:33 +0200 Message-ID: To: "Christoph M. Becker" Cc: Kalle Sommer Nielsen , Yasuo Ohgaki , Internals Content-Type: multipart/alternative; boundary="000000000000e94e290570654ab3" Subject: Re: [PHP-DEV] [RFC] Deprecate and remove continue targeting switch From: nikita.ppv@gmail.com (Nikita Popov) --000000000000e94e290570654ab3 Content-Type: text/plain; charset="UTF-8" On Thu, Jul 5, 2018 at 12:51 AM, Christoph M. Becker wrote: > On 05.07.2018 at 00:20, Kalle Sommer Nielsen wrote: > > > Den tor. 5. jul. 2018 kl. 00.15 skrev Yasuo Ohgaki : > > > >> 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. > > > > I like the idea of a tool for such, but I think its better to > > implement it in some of the static analyzer projects like PHPStan and > > the like to catch these. > > Please note that the RFC has been superseded by > . > > -- > Christoph M. Becker > The warning addition in https://github.com/php/php-src/pull/3364 is merged now and I've marked the original RFC as withdrawn. Nikita --000000000000e94e290570654ab3--