Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117911 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 1975 invoked from network); 12 Jun 2022 08:26:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Jun 2022 08:26:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CAB81180083 for ; Sun, 12 Jun 2022 03:13:52 -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.2 required=5.0 tests=BAYES_40,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,T_SCC_BODY_TEXT_LINE 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-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 12 Jun 2022 03:13:52 -0700 (PDT) Received: by mail-ej1-f54.google.com with SMTP id g25so5877414ejh.9 for ; Sun, 12 Jun 2022 03:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=WdN0coUXbiQVB4HLOIRTpchzkHcaEryikxmQKjwj4jY=; b=IpK6g4KWVG0LIRCo7FnJhjoIu8BVjmQW8ZZP2e9MkuTvWNvg+m+Jbnsyy6V5dl2LLh fMJcGGtb7j9gPVVKOvgahDSqtGoxO9khutu2hR0Xn/x3t6F/NzItypFQ1pdmPcNAms4Z FlNZKrSI7ctXhdw8BsdLEGhFobK/HBW4M7CCOTkbbRmcNRbwUsGh2dJpTQQMzvenP60M kfSOvqjSnWGktjH6Gf8gY/j1KQ0AfDpWWqoV+T4otN5G5Q0N3lAi1OGLxxW3d2DBFILh JrLrdENQd/HTI3Bm/fklOQyPOFTdiVrwezl4tITyhlqeKmIQdzWzmO7FiUgKjhUQloZ5 y4Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=WdN0coUXbiQVB4HLOIRTpchzkHcaEryikxmQKjwj4jY=; b=ReiezGCH23fMsYv7aE5dsoVhLuraCcnhCaAlIZhXY8pjemsdW/3aHzxgi/0rvQJEkh xrrdeqq/NnydUu9Hyee+u0junZd/JSjsXJBOTlkczrSVSSlEGPnPWOU5O1RZgFDKh/FN nKMH+0j09LmpGtq8NxoKFyuI4rFSS3JpRaJg0XCMrVx/CWGdvCf3HEPYJAycD6HQm8Sj h9vRJ5Z86I2rNY0V+YwcPFc0Nt4SzI4ZtqrBjpTpyOuW5y3UUJyAoKqsL3T/bEucF3+x fXadyfOdulmQB/GSRiSTRC6E29tKEPbr+KMlN2tRoPab+f3r3gnqLTiDsMG42mSdQmJe UgOA== X-Gm-Message-State: AOAM533CI2WjZf4sYSszTNzanSUPOG3Y0hnaWGse73BXa/1n710GiirS NBOkFaP2Ij7vP4uXl9fmfkVBRAWA0TEe+8lqlsg/FZtD08ii5g== X-Google-Smtp-Source: ABdhPJwgZrgu/1B51c32fPB5dHLdWjD90AXara64OJnLNyc5Qo00bLSDA8V7OfOpobuJyTz4VFE4p02nYNLy3WRD2es= X-Received: by 2002:a17:906:7490:b0:712:32e0:5e2c with SMTP id e16-20020a170906749000b0071232e05e2cmr8567564ejl.145.1655028831193; Sun, 12 Jun 2022 03:13:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 12 Jun 2022 11:13:39 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000938e5e05e13d6d58" Subject: Re: [PHP-DEV] [RFC] Disjunctive Normal Form Types From: george.banyard@gmail.com ("G. P. B.") --000000000000938e5e05e13d6d58 Content-Type: text/plain; charset="UTF-8" On Sat, 19 Mar 2022 at 16:38, G. P. B. wrote: > Hello internals, > > I would like to open the discussion on the Disjunctive Normal Form (DNF) > types RFC: > https://wiki.php.net/rfc/dnf_types > > The implementation for it is available on my fork, [1] but currently > relies on a pending PR [2] to make the implementation simpler. > > DNF types are a way to mix intersection and union types together in a > single type. > For example: > - (A&B)|null > - (Traversable&Countable)|array > > Best regards, > > George P. Banyard > > [1] https://github.com/Girgias/php-src/pull/10 > [2] https://github.com/php/php-src/pull/7309 > I would like to open voting on this during the week now that the pending PR has been merged and the implementation is mostly done (modulo some OpCache changes and edge cases to test) PR: https://github.com/php/php-src/pull/8725 If there are any concerns or things to address now is the time. Best regards, George P. Banyard --000000000000938e5e05e13d6d58--