Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127376 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 5701B1A00BC for ; Thu, 15 May 2025 13:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1747316625; bh=b0aHKfKki20qPgzNymf2Q4GBZ9rxeanHT/NBRFrMoso=; h=Date:From:To:In-Reply-To:References:Subject:From; b=jo9HY0N/ZFd/HAOPflQJd/w9urL0kgSV8jQmsg8d2oPj0QS2AzQcaIMkm1LnT1fuU cQj8IddFR/HgOIj5ER9la/fIr/Fi9LUMOnTycAK/ZZSnCOHfXAOvwZenFxp+b2Ew2Z LlDxC4jptmfH+Jy10GWp6WijuiU9l/3xAf9JDAniLlT20sjRZKPBOYLxYW+feZsRh+ olNeWDAU/Vqc/QnVZNsMjqKBNKQ5xaEVF89MWJF0kjgja+sEcWXErao7xu3toauijq UuERPst3J0JaKt6ZBHvQhfert61v8kjDwoopFM8QDNw8bI6JaDVQ5wE4CQwvhwTVDF vNpEJXjfmr6ig== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4A6D318007C for ; Thu, 15 May 2025 13:43:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from fhigh-a8-smtp.messagingengine.com (fhigh-a8-smtp.messagingengine.com [103.168.172.159]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 15 May 2025 13:43:43 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id 276641140112 for ; Thu, 15 May 2025 09:45:53 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-10.internal (MEProxy); Thu, 15 May 2025 09:45:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm3; t=1747316753; x=1747403153; bh=3Z8OQ8xMvzF5nTwRs1tRq nUdT7VDdAZOUt3NcoEvUBc=; b=YLoXI2i33f72YWFqneEULjeZYkaSN87b/8Mwm Wx+mX3AUkVmFpxc7Z4M/PodCihavLNkw/ZBMWDYMtWpZrM7iGdVmnWrbpEoFHTnM Zw4j4KcNt1VcrL8D9Ei3JuNZy2m+kigfKqt+9symMGwoATeFL6LhKC60kUeFJacy g2A+BYUCaeMaYStstLXh/pz1xx+9InvHAu1Np1gT+EHk32S6ZFE8GU8drkvL0+2c S6ht2mbc1A/tnOEo/0Qgt4MoaV9KRhFmLxAaWt+qmm6KV6TuSM9Oq3shOjureemX ai0KJNfiaiQzTDYhzt2xAsnuVhUNEBF3NsqT+WyY1m83LMoRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1747316753; x=1747403153; bh=3 Z8OQ8xMvzF5nTwRs1tRqnUdT7VDdAZOUt3NcoEvUBc=; b=wj1iR7IZWyBOijP6F QDMHEzx5tuzONdSU7g3Z1JtaRaUFJBwIywvM5FxyQCbLJDoxaBg/IwoI7+tDTaoT Qnd0/AS2FkyIa0GoZ4+mLofhPyxz6OPlBmb37j3dzLyP/lELRR0j4K8mvQ5OVEJg MM1LEg/D/DPP/iuKg3V/bfTimRDqIDWFm5baMK/eHgxBwJVDX5G9nsQqLHPcI8zt lz8sLInlT0XIDIkI9Um3MMudj2TlFHfykLAQfdujl3NxoFOVXOROEHPgfnLk7gia 0oIG5Rvqc0jAHDdXCVaoMpuks8v+pHwDbAKDsvXmeTSifAssUnr8RcVAxsJqL6/b Wb+qQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefuddttddvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepofggfffhvffkjghfufgtgfesthhqredtredt jeenucfhrhhomhepfdfnrghrrhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrh hfihgvlhguthgvtghhrdgtohhmqeenucggtffrrghtthgvrhhnpeeugfetieejueevffdu lefhhfethfekvedtueevgfffvdefiedvtefgheevteelffenucffohhmrghinhepphhhph drnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomhdpnhgspghrtghpthhtohepud dpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrhhnrghlsheslhhishht shdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id CABE770005E; Thu, 15 May 2025 09:45:52 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: Tc85e59d11f973e2b Date: Thu, 15 May 2025 08:45:32 -0500 To: "php internals" Message-ID: <03a18250-860c-4a62-90b0-57dc084f176b@app.fastmail.com> In-Reply-To: References: <9a1ece99-3528-4084-8aa8-d41a07b46a3f@app.fastmail.com> Subject: Re: [PHP-DEV] [Vote] Pipe operator Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: larry@garfieldtech.com ("Larry Garfield") On Wed, May 14, 2025, at 10:36 PM, Theodore Brown wrote: > On Wed, May 14, 2025 at 09:08 Larry Garfield wrote: > >> On Tue, May 13, 2025, at 5:55 PM, Ilija Tovilo wrote: >>> On Tue, May 13, 2025 at 3:58=E2=80=AFAM Larry Garfield wrote: >>>> >>>> I hereby open the vote on the Pipe operator RFC: >>>> >>>> https://wiki.php.net/rfc/pipe-operator-v3 >>> >>> It looks like the example under "Rejected Features" is wrong. >>> >>> // With Elixir style >>> $foo >>> |> bar(...) >>> >>> should be >>> >>> $foo >>> |> bar() >>> >>> Also a nit: The RFC says "There was discussion off-list of >>> =E2=80=9Cauto-partialling=E2=80=9D functions after a pipe", but this= idea was since >>> discussed on-list as well. >>> >>> Ilija >> >> Hm, good catch. Normally you're not supposed to edit an RFC in votin= g, >> but as this is a typo fix in a Rejected Features section (ie, it has >> zero impact on the thing being voted on), I think it's probably OK to= fix. >> >> I'll give a day or so for someone to object that it still shouldn't b= e allowed, >> and if no one does then I'll make those edits. >> >> --Larry Garfield > > I think it's fine to fix typos, misspellings, and grammar mistakes=20 > which don't affect what's being voted on. > > While you're at it, please also fix the `match()` example, which shoul= d=20 > not contain `case` keywords. > > Theodore I have made the above corrections. No substantive changes were made to = the RFC. For verification, here's the diff: https://wiki.php.net/rfc/pipe-operato= r-v3?do=3Ddiff&rev2%5B0%5D=3D1747101303&rev2%5B1%5D=3D1747316653&difftyp= e=3Dsidebyside --Larry Garfield