Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102493 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6772 invoked from network); 27 Jun 2018 15:53:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2018 15:53:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=chasepeeler@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chasepeeler@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.208.193 as permitted sender) X-PHP-List-Original-Sender: chasepeeler@gmail.com X-Host-Fingerprint: 209.85.208.193 mail-lj1-f193.google.com Received: from [209.85.208.193] ([209.85.208.193:46596] helo=mail-lj1-f193.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/5F-01794-903B33B5 for ; Wed, 27 Jun 2018 11:53:45 -0400 Received: by mail-lj1-f193.google.com with SMTP id u6-v6so2032103lju.13 for ; Wed, 27 Jun 2018 08:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fJKK3AzbHbjKirylXTQWN7gYGN0ti1nbGTt6EFt2Sho=; b=NiFyZ3zI/kM7ICbvuOcn5pD9/+r0eFa466rSo3KJN77iOHTMmugkPahXSFtD1igzaQ bpaD7HaRMeJa7vm3m1vaSJnjK5LCPcZXvVvo5mcWyvRDwxgXw5K4XqUbBYDDe1D94ayi oA0fZY392pAkEGMdRaTzv9sTEaPL6hzSNK/aky7jEs48a6hw5HJhvU4cu9FX+72f8sQ+ f9R2o2FzX6/JLFNVufIP0mVgqiICErFxI59km54j+4nNqCR06YcDXCtM04HtMfnK7wIS reFZNUd5ZZMDglziAY8JBKOJauWu1rgmOpyliFx6z3Ax6rENPrSE/X9VXyiihM9yqVDW hYng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fJKK3AzbHbjKirylXTQWN7gYGN0ti1nbGTt6EFt2Sho=; b=TX/gximW2jsv2mhfKCKNI7p4jPe3NR9OzY15AbpclZ/0eW+OliStMCD5Ovj71ggHrO Cz56n4Qz1HeLpmxbnH9+ksRexb3eJ8JUW6S9hoUpNneKFrgRSzvv0Q9+7ANnQ2LjaU88 4HP2bqrXc2Upo7YNP489KflN7U/WM53bJBDqX72tSBsdJJ24XfPtNdppprOt68aBGSQM ARQW0JgwkDVrM/DJvh8WdDfIvtbNRpQUIR0d6PEpvxKO3OFNzGQoBVIwAQ44x2KDVPiN gARQ7UfJhRJMR4+qkinKn5BA9UR0v1IyW1+Tx3nND184dq1tH057iNw2RquC8zP9uAWJ y/fw== X-Gm-Message-State: APt69E0huCcN6biTolk9mCBGRhEIqtuA9V7c+FRAZOkYYuEhlXWQmOcx EPM01qoPVoRVpAEiVJbMRIhXXXeyoqtCFriRUBA= X-Google-Smtp-Source: AAOMgpfO77SJnYcfgKpkmuYnrdsJLWHS0XlToe8AfSfPP81/OND4YU1Nv/E/m2R1QwXxjoDyL4TXpocNBdxDHjdEZBY= X-Received: by 2002:a2e:8099:: with SMTP id i25-v6mr4761491ljg.85.1530114822057; Wed, 27 Jun 2018 08:53:42 -0700 (PDT) MIME-Version: 1.0 References: <7dcfbc12-8ab5-0125-cfee-171c9a422b7e@blueyonder.co.uk> In-Reply-To: <7dcfbc12-8ab5-0125-cfee-171c9a422b7e@blueyonder.co.uk> Date: Wed, 27 Jun 2018 11:53:29 -0400 Message-ID: To: niel Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000006f3415056fa19e62" Subject: Re: [PHP-DEV] [RFC] Deprecate and remove continue targeting switch From: chasepeeler@gmail.com (Chase Peeler) --0000000000006f3415056fa19e62 Content-Type: text/plain; charset="UTF-8" On Wed, Jun 27, 2018 at 11:46 AM niel wrote: > On 24/06/18 17:16, Nikita Popov wrote: > > Hi internals, > > > > Another small deprecation for your consideration... > > > > https://wiki.php.net/rfc/continue_on_switch_deprecation > > > > Regards, > > Nikita > > > > Could you clarify the PHP 8 changes: > > "PHP 8 generates a compile error." > > Does this mean *any* use of continue in a switch is a compile error, or > only continue without a number > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Something like this could make upgrading PHP against a large legacy code base near impossible. If this was the ONLY thing that a developer in another language would have to grapple with in order to switch the PHP, it might be different. But, I would advise against potentially breaking a lot of code for something that provides no functional advantage, and, at best, might provide a slight syntactical improvement (and, I'm not convinced it even does that). -- -- Chase chasepeeler@gmail.com --0000000000006f3415056fa19e62--