Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126318 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 qa.php.net (Postfix) with ESMTPS id 7B0C71A00BC for ; Fri, 7 Feb 2025 04:58:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1738904133; bh=GesvrvHBmcZUGEsQf+buiVCbFdHGupkjPf+4Q66gdjE=; h=Date:From:To:Subject:From; b=aw6g9wjxybs1aLMfEAj27pGWyhYoEITWRHB94JI2I3UP3FH0dkg6CLqNDHvbyO4tR VylUUT/dNIvghup2w94W4PMXD4shnqYqjSmikRpUsodB7rgM6YviLRSwkbMSuh7zjN MujlXq6KlfohaVmP+Ic34q+IKGyf2ifPEdBxkauSwu0F3D5cOhwHkJ+IZTDq6gaC0u 06pI/RNnDIigQSfMi1Zhdtzn4ftG20psonb5avau5MzFMC42l18vmeEL7JQl4gc9ZO FRWkV2fS1Uz+thyqgv4TmQ1xh8W0WpIlmmU2CqHvGkWx15pp1bfKkLJWkJzPV2/GQG DIC9Yg3BfK/yA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 83691180048 for ; Fri, 7 Feb 2025 04:55:31 +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.7 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout-b6-smtp.messagingengine.com (fout-b6-smtp.messagingengine.com [202.12.124.149]) (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 ; Fri, 7 Feb 2025 04:55:31 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id DB322114016C for ; Thu, 6 Feb 2025 23:58:14 -0500 (EST) Received: from phl-imap-06 ([10.202.2.83]) by phl-compute-01.internal (MEProxy); Thu, 06 Feb 2025 23:58:14 -0500 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:message-id :mime-version:reply-to:subject:subject:to:to; s=fm3; t= 1738904294; x=1738990694; bh=F99NfIE85JG88zHYzSZ0yrEEvNeSqntPZ3F QYO72u9k=; b=f5y283auNp2Fmp7KI/3Ts/gSSfQTEwqcU/1zfzsVCrvWoIkLlBp 1iXi1J8pagk6RDMy7/b2mRT/d0rMj18Z+6Zy6x1EQy7dlgArX9Uok110hW8cQCFg FwueremlO02gV5UWE/UZrd3OQNHhJfEi9e4D8zKUmTY2R8vCm5D6H5k+XweNoFjY PDvbobf4SuwuNt32IYzB4JZEBcd/yQeA+ix9wPvH2clu4ew+vBcrdxHtVdaxYTmD L5YP5WvCTTkhsL4jWJTzxAeJEZ4AFQos75C6SL88ndrVFlDLsp236UtpjWaQ+k7M w3tSwnFUmvHf8A6ihVL9KQfemnwYOPcl4kA== 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:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738904294; x=1738990694; bh=F99NfIE85JG88zHYzSZ0yrEEvNeSqntPZ3F QYO72u9k=; b=d/AxvJgKsmVDNDPmntoT9Ll+MZodm1481lnBXEwpb2Jfaop4NOu Q2qKuqY7sjQVSBPnns+Ga5gfzrB1fGRA3adngTlNCXWW7TTqKPo/PkBiSf0lBkYa mZlpF25nAZjojd3hzOBB699MerN5R+S664TZ+Mht8f2fyJJVWupazOReJSm1GV+6 SEm7XauTGO+PkKRddt5B7nxA+ZL5rO9XTZqOrvNtK6QkqqxOlGyEZuPqXxQjkjP1 6BwZEvqnQFXCfaiJnwn49CFIDAwYAIOMJeaIhPVWVEPcXUqoD+p/q7iPPnIlZd8g TEr0IvnLcTZLIkv77/Rcli3XfyCUWcN3u2g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvkeefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvkffutgfgsehtjeertdertddtnecu hfhrohhmpedfnfgrrhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivg hlughtvggthhdrtghomheqnecuggftrfgrthhtvghrnhepudfhffehffekiedvgeevheel jedvfeffjedvhfeuuedutdeljeefgfehteehgffhnecuffhomhgrihhnpehphhhprdhnvg htnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgr rhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgtphhtthhopedupdhmoh guvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhsrdhp hhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 1CE2B29C006F; Thu, 6 Feb 2025 23:58:14 -0500 (EST) 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 Date: Thu, 06 Feb 2025 22:57:28 -0600 To: "php internals" Message-ID: Subject: [PHP-DEV] [RFC] Pipe Operator (again) Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") Hi folks. A few years ago I posted an RFC for a pipe operator, as seen in many other languages. At the time it didn't pass, in no small part because the implementation was a bit shaky and it was right before freeze. Nonetheless, there are now even more (bad) user-space implementations in the wild, as it gets brought up frequently in "what do you want in PHP?" threads (though nowhere near generics or better async, of course), so it seems clear there is demand in the market for it. It is now back with a better implementation (many thanks to Ilija for his help and guidance in that), and it's nowhere close to freeze, so here we go again: https://wiki.php.net/rfc/pipe-operator-v3 Of particular note, since the last RFC I have concluded that a compose operator is a necessary complement to a pipe operator. However, it's also going to be notably more work, and the two operators don't actually interact at all at the code level, so since people keep saying "Small RFCs!", here's a small RFC. :-) -- Larry Garfield larry@garfieldtech.com