Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115190 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 25829 invoked from network); 28 Jun 2021 19:44:27 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Jun 2021 19:44:27 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BFF86180508 for ; Mon, 28 Jun 2021 13:04:15 -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,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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, 28 Jun 2021 13:04:15 -0700 (PDT) Received: by mail-wr1-f52.google.com with SMTP id p8so6634080wrr.1 for ; Mon, 28 Jun 2021 13:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=fDPGlNRhJ7vDOf+IEIsparaL/11jQ6EGG58isf5bviQ=; b=L3uNeGVuXVja0EYc1HdDwC/yfYi4SaXanMFAc7zkcQNc7Hkw4xmMvm920URY3rn08g VnVHRsVFuORUOLw4Ct/z+90ekG12Q+s9fFaS0kVH1OzaZ9oOLZkPK5/N3eImmrYjuJy0 l2ydVDiYnxKK7XnQ8gSHbMiFxSpvFL6ZXvt4xsKIN+rnoHzILhWTrzeHhSg7xUjwL9uh B1PUnIqvMM2vzV+s2EYkD158AJ+rrCz3jhAKaIQ5FEu2xqptmE2slxDjd2O6tvF7VIr2 tzbODba4e1Za+91e7OO1YhGgynEC38m+QRhblnZh/8GLm9iWEHI3UUmFH6xao2G9lnyN aAqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=fDPGlNRhJ7vDOf+IEIsparaL/11jQ6EGG58isf5bviQ=; b=BknUr3fJ5b9wRxYEG2LSDc0Er6hNmyOLVq0cRjDjO+PaxDb45tyEwIY+V9lFlW7est zRHCdBjLv6aCt2EFUFwioevU2xNbNvOAD89mFiz+fW0P2//jpmnCVb/Zv2mGDSWqgMKp og2AZxWetEGAfEAJpAwqFQP40p39ln/12Gzn98YGzYQuH/cRuwRKhGdKsKC9/xccPeRw K7d6v/EkUGrOQATDVhem1MivGxe2aG1tQYKJO7y+vK9U3mJRmPMCxnCkH+UPgxCQjFr3 lsrhYgJU6RivKv7lm6cRqnkDe5R/S9qyDhDvB6zhHwuYf0yUy4t8GMPvWCwHfkd1sYow d3yQ== X-Gm-Message-State: AOAM531HlplOoXwqXYqPG34E3atEM6JVdoD7nuRtMEhnQ4aF+45HSbaI I1yQ6Wje0FgWbxSdwEbbHgWhL/qWXD8= X-Google-Smtp-Source: ABdhPJxJAB2qYSRs5Y0Hb+9nmy43QHkY+nmc63JUkKbJc4QnnIWoFrAl91alHC/O7I5IU704KNv1Uw== X-Received: by 2002:a5d:62c2:: with SMTP id o2mr12833987wrv.234.1624910652450; Mon, 28 Jun 2021 13:04:12 -0700 (PDT) Received: from [192.168.0.22] (cpc104104-brig22-2-0-cust548.3-3.cable.virginm.net. [82.10.58.37]) by smtp.googlemail.com with ESMTPSA id y66sm15169371wmy.39.2021.06.28.13.04.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jun 2021 13:04:11 -0700 (PDT) To: internals@lists.php.net References: Message-ID: Date: Mon, 28 Jun 2021 21:04:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB Subject: Re: [PHP-DEV] [RFC] Pipe Operator, take 2 From: rowan.collins@gmail.com (Rowan Tommins) On 28/06/2021 20:25, Olle Härstedt wrote: > Usage (ignoring the pesky undefined constant warnings ><): Unfortunately, you can't ignore those warnings; not least because they're fatal errors in PHP 8, as they frankly should have been in PHP 3. You can use our current ugly callable syntax (strings and two-element arrays); you can tackle the complexity of unifying functions with constants, and methods with properties (as Levi explained in the other thread); or you can add a dedicated callable syntax, which the PFA proposal gets us with bells on. Regards, -- Rowan Tommins [IMSoP]