Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102594 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31302 invoked from network); 4 Jul 2018 22:51:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2018 22:51:38 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.22 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.22 mout.gmx.net Received: from [212.227.17.22] ([212.227.17.22:41211] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/8A-55607-87F4D3B5 for ; Wed, 04 Jul 2018 18:51:38 -0400 Received: from [192.168.2.102] ([79.222.41.233]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lm6IP-1g9uJr20dV-00ZeIC; Thu, 05 Jul 2018 00:51:18 +0200 To: Kalle Sommer Nielsen , Yasuo Ohgaki Cc: Nikita Popov , Internals References: Message-ID: Date: Thu, 5 Jul 2018 00:51:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:yyOtzn5vLxGUciXcqQ1PyJi/eE2GDNZkKuAo0HyWl7MC2iC9CEK Csr7Jkf9qVkE/oV+UsARhVp/9ecv4RagHON5gNAnFF2mCkhj8f4+6LG/mZAZvl/LJoDtatu X58fjGTTPy5uqojJ1sMdlyXkPwJbr8LFpGMTWgZ5Nf7HfCxbDiE4ngtmfVb0t3P1vaBKuvs zhJ6oTp+MpVm0iEkooAZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:hi/HgRr9snI=:0ev24Ab8nvGk0vPIkBc6iV BblwG6+JHqi8fTy1zOh1QoToiVVgIyMEmZn+Ow4D5/jN8G/7h0hiuzAQPRgWSLJJz8hQWP+kG NFb/qogC2CKlHtlxpC6jI+hB3FJuarVaJtZbQt3fsrbdSFzsUjfcDKk1W76bJi5TERVnMS3mb cICF6cnFXOa9dx8WdZYW77FoVp8C0eRfnSlYOJVFTk8ShSjECem0TTdW51YLxgOPc67EHDMVx CkHuMK5Vzzve//4CglZrOMPPyqdkY0EXhOrsAvMObCCxw1qPzSK1pQWZ66BAfunQhOoJaVeUK 0t8NTzdJ/dgHvJ23qGyPH7GtH+BfVi3OLGaojJ05rqIQ21DtLd1EZJozBhd+4skLwGFEaz5vL CixgbSWV8BVsHYEFoSnOlc04M2VR1DHbt5mJtdSxUAM/iaNwS3XjU0i606HKdpQKiKF7B4xq5 vulxHgWw8Q1iiX28RRTcCWC0Hk0iBKA0L8UJ6mBTRN+tr2jbo0G3LWSmampa3eKOY4pVyJHji DKnmhgTxMmEuZwaBxGQfE0EERsf8ryUK9J2Gt03EzimBLtbKwpimIGRAMQ19emBJaVYUe7X3q T9UbApAWL1qapGeWr3oV3bUlx6SybcwHdCh2h1Onk0kY4hd6/HhejpExZY4hzha6C6e793K58 a8DlaQBYI8P0oVBDPBr62o5WsHQR/USuJBpcpthf1XqB6k1RaydiBIuP9WzEy7pHl/6KPMCTU XywqW5W6IK3UiT5Y/Ogcs62zjhb2xP/mp9UhmMPfGwhdXtSHEPGPetMPMHpdZukljBogQk8Eu RaFWnvv Subject: Re: [PHP-DEV] [RFC] Deprecate and remove continue targeting switch From: cmbecker69@gmx.de ("Christoph M. Becker") 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