Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110243 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52863 invoked from network); 22 May 2020 12:29:40 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 May 2020 12:29:40 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6D3241804E2 for ; Fri, 22 May 2020 04:08:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 22 May 2020 04:08:49 -0700 (PDT) Received: by mail-yb1-f176.google.com with SMTP id a10so4426485ybc.3 for ; Fri, 22 May 2020 04:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4gSocOFd6oyBbchFei5Je5ltfIfaM5dqulyxjO7Ufvk=; b=G6H4zRuKGIMD84oUpoNga+Vbqk1E955rW/187jsiTAUe3/ctfI1Y0k2nSc6GVa0u/Z 8BxvfZIn3icPQ21YalbjZJexj39ZMAGMph6HS/1YTp/LuLQgxhghHQR2TY62QUb6Kyac tQTovj1JdSAxOHn72HNWofG/uZ4azZhqbDvxhthu29+vulkwfh+aY9VFsuCCRQyr/ngc rY1cGxM2lsbVQUNxzlqGlddgbKypajcmvunt/g2Ld6H5+1XwgHmO11g8URfWNiyMEeUr 4QtdNJR4MTwNWge7SdkGxTCZpKQmuy4IYEfmWlWeGtEF7BzKftmcVaCa8VzRM2YMQHvy X69w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4gSocOFd6oyBbchFei5Je5ltfIfaM5dqulyxjO7Ufvk=; b=Q159BPcc6eY5mbFzsva5kuMma2uKLGTq2yHcPzmNeVq8E9E4Y4eQdg/kOE4B5WuS70 SYx1+33/kXTXYW3bGB9sxHgEAsq1g5kF+jjwH7YCPZ4nZe4B3nKibognqp/8jPmqgbJ2 m2mUPBF7IU8tffaoB5NyzoyIL9nn9nLV0K7/EXx77/t11uoEBqOk0bkt2xV+x/aT/6kl Ys7hiJianh6XQSpfL7z/hB6MMzAjZkULUsUsZFIYi4PKWPLZc7K/gCLDo2oPAgTcGnpO 6Li2o/7utZn1415X78qAb5J8BwgJB/ZAZd/AXzhFX19ipg2FMv0JteCysw2bbTle3Vyo Nlvw== X-Gm-Message-State: AOAM531HeFPUvx652Jm9VIuWJ3Ir7ThiWwGJbi9dPKmhwH+Hkye9Vm7I Dphq6Mgv5+x2GfcDJul8u40UvFXzEUWPyPfL0o4Zof1H X-Google-Smtp-Source: ABdhPJzutPYWUZRi0hcUtSNqNEuTHaCBGa0Y7pd0WQ1BqBRtAftIQvTG0TByAjtE1B7JsQU/RqKHauNY4cii4swPzi0= X-Received: by 2002:a25:41c3:: with SMTP id o186mr22117004yba.48.1590145725914; Fri, 22 May 2020 04:08:45 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 22 May 2020 13:08:34 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: [RFC][DISCUSSION] Match expression v2 From: tovilo.ilija@gmail.com (Ilija Tovilo) Hi internals I'd like to announce the match expression v2 RFC: https://wiki.php.net/rfc/match_expression_v2 The goal of the new draft is to be as simple and uncontroversial as possible. It differs from v1 in the following ways: * Blocks were removed * Secondary votes were removed * optional semicolon * omitting `(true)` * Unimportant details were removed (e.g. examples for future scope) You can look at the diff here: https://github.com/iluuu1994/match-expression-rfc/pull/8/files I will also leave the discussion period open for longer as that too was one of the primary criticisms. As mentioned by Kalle: > Resurrecting rejected RFCs have a "cooldown" of 6 months: > https://wiki.php.net/rfc/voting#resurrecting_rejected_proposals That is, unless: > The author(s) make substantial changes to the proposal. While it's > impossible to put clear definitions on what constitutes 'substantial' > changes, they should be material enough so that they'll significantly > affect the outcome of another vote. Given that many people have said without blocks they'd vote yes I'd say this is the case here. Let me know if you don't agree. Ilija