Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115756 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50533 invoked from network); 16 Aug 2021 07:51:53 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Aug 2021 07:51:53 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 13E2C1804B4 for ; Mon, 16 Aug 2021 01:23:49 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (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 ; Mon, 16 Aug 2021 01:23:48 -0700 (PDT) Received: by mail-ot1-f48.google.com with SMTP id 61-20020a9d0d430000b02903eabfc221a9so20103950oti.0 for ; Mon, 16 Aug 2021 01:23:48 -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=6z++n0p7PtiVj/K8ic30zKk8hjE7CrcYbAPxgD1KJlc=; b=V6Y6GVtP4QUhq+n9GUzezWd0kbYpAbjtE8GqAX0l2HuJkK0rMowNSQm5El/iF2Dvq2 tOyhcOheF7UBKUhTT/y5kDCzK1grcK+QNZ08hDltbal2hOlpN/8olhOMhGHVJaL0VyD1 tZhAxRHwQ6FWGbcuMsjU1otJNFUNI4fgUENI78jHnvIyTJvMUF9LE35jF2gTS6fHMgNa TEBvLTn1gZCSWimKGfll6fXS1NIpNTtwaxTZdirqFTteYIfBNgUbqJ7rCEDitXQfrLmh UiHIe/GyV5JMvvDBlETwrWe1zJ/7TetQCIpXPrtii4+Q5CZxa3Nhn32X78GwTlgi4QFQ AiOw== 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=6z++n0p7PtiVj/K8ic30zKk8hjE7CrcYbAPxgD1KJlc=; b=Cf1hEYRnq64gOpug6jeg8TZEGzGmugwK9xnl0IhWKb7x4JEiJ0aU6v0zssOTKpdhI4 8zU7xgOKBM/UeUxRlE0Gd0lmGbIf7Z2DuIKlUYNZCVVW8+z7ZVq70b6qLGpfw/RNeYVg u12Ek0ycMe4kzw2ioGo90EdgmLpjKWheXHj2ncfvjAokVZuj3u8QsJhCNVytSBdZ+e7F ajonsk5EFsopSmonMr+cV+aeP1xJGQuggaP/bWW3CUunSis1UoYa7OqbP0NvBqQ2UwtM ZpSp0GAr+XHMoW6w5jnrKyvR0+0KpxamZlpKFtzo1J0vOBOMlW/azLIkn9poKlKYmscD olsQ== X-Gm-Message-State: AOAM531bzFN7ERZv8/Tg/Iir2M2BuH6/cXfIij/lTtw94GMNkK8g2hxM pqmJiomUjcVi2L3DA0k6QO75o43FHw0SW/ThJj0= X-Google-Smtp-Source: ABdhPJz//+zWCzeheWgJcmD2Obn2rHbhgojHU+dJkNg2m4QqwsqxZM7WxrUWb3hk6xVFtZ4qC+LsTbJsQBz4a+KWJRM= X-Received: by 2002:a05:6830:4c1:: with SMTP id s1mr9700908otd.221.1629102227983; Mon, 16 Aug 2021 01:23:47 -0700 (PDT) MIME-Version: 1.0 References: <72785D6F-6803-49BB-B575-01061699ABF4@gmail.com> <448DAADA-C819-457F-ABBF-F942128B2830@gmail.com> In-Reply-To: Date: Mon, 16 Aug 2021 10:23:36 +0200 Message-ID: To: Nikita Popov Cc: Deleu , Tobias Nyholm , Kalle Sommer Nielsen , Patrick ALLAERT , Nicolas Grekas , PHP Internals List , Ben Ramsey Content-Type: multipart/alternative; boundary="0000000000009a18f905c9a8eb01" Subject: Re: [PHP-DEV] [VOTE] Nullable intersection types From: krakjoe@gmail.com (Joe Watkins) --0000000000009a18f905c9a8eb01 Content-Type: text/plain; charset="UTF-8" Morning Nikita, all, The exception was granted to ratify consensus that I thought we had - and that one of the two primary votes on the current RFC seems to support. However, the RFC we got was something that contained multiple primary votes - we must consider the first two votes primary, we don't want to choose syntax on a 50% majority. At the moment it looks like we don't have a consensus that adding nullability (at this late stage) is important. I too think it's important to be flexible in this stage of the cycle, but I look at the opposition to making this change now and that degrades my confidence that making the change this late even if it does pass is a good idea. Cheers Joe On Mon, 16 Aug 2021 at 10:04, Nikita Popov wrote: > On Mon, Aug 16, 2021 at 9:45 AM Joe Watkins wrote: > >> Morning all, >> >> The initial RFC was clear that nullability was not supported, however that >> doesn't seem to be have widely understood. >> >> When I said we should move forward I did imagine that there was some >> consensus about the syntax we should use if we were to support >> nullability. >> > > Based on the vote, it looks like there's a pretty clear consensus on > (X&Y)|null :) > > >> As this conversation has progressed it has become clear that we don't have >> that consensus, and many people are just not comfortable trying to build >> consensus this late in the cycle. >> >> The RFC is not passing currently so I don't think we actually need to do >> anything, except prepare to deploy the feature that was voted in, pure >> intersections. >> >> The RFC should be allowed to complete, it's gathering important data. >> >> In the end, I'm not as happy to make an exception as I was when the >> discussion started. > > > FWIW I think that if we granted an exception for this once, we shouldn't > go back on it. Maybe there should have been some discussion among RMs about > this, but I think your agreement was interpreted (at least by me and > presumably Nicolas) as it being fine to go forward with this RFC from a > release management perspective. Now that the vote is underway, people can > take the fact that this is targeting 8.1 into consideration in their choice > -- I suspect that a lot of the "no" votes here are specifically due to > that, not because they generally dislike support for nullable intersection > types. > > As a meta note, I think it's important that we're open to minor changes to > new features during the pre-release phase -- it's purpose is not just > implementation stability. In fact, we can fix implementation bugs anytime, > but usually can't do the same with design issues. (Of course, in this > particular case the proposed change is backwards-compatible, so there is no > strict requirement to make a change before the stable release.) > > Regards, > Nikita > --0000000000009a18f905c9a8eb01--