Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127331 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 D69E21A00BC for ; Sat, 10 May 2025 06:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1746856821; bh=IYi1fsVguEApU5gH8yQwhvzmaL2BWEhinOD5+hAgX0g=; h=Date:From:To:In-Reply-To:References:Subject:From; b=L+S7jSYhghiuuDVOMrbDcxCV38DHrfYG0W/1PEZIa/R5BWQzHLpA6vv2meDwl5lNx EYztmnnAQbOSnYfOgCPfzG1NRL+CfBxD1+gkHh+oWwDdkiTWBMQqvxWTtXSxynsRVT pji08pQGRW+I7TX8DXBQKHmjLzt4e7d3creBeuKk+dMjWnELdBMY+SXTpFLmlDajmT ZbKQ0RHLvrlDDN3cnAENBbfoAA7yhc7oh3XU+r4niC3nqsaITQDal8rdKb5Ksa2gtC FsK9nJXwsIWAbnQz6Y4n9Anopu+FJI2klGPswjjYJ1ZPPv2Tk8gSimitqOZ4bIe5Lw 8+mKSn2fGgXRA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 187EE18004D for ; Sat, 10 May 2025 06:00:20 +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-b6-smtp.messagingengine.com (fhigh-b6-smtp.messagingengine.com [202.12.124.157]) (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 ; Sat, 10 May 2025 06:00:19 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id E949F25400E4 for ; Sat, 10 May 2025 02:02:31 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-10.internal (MEProxy); Sat, 10 May 2025 02:02:31 -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=1746856951; x=1746943351; bh=F4VPq0UXIiTBFlS5tV83c IvcCtdmIP4u7KPAk/oIECk=; b=pzQCfBmPGusU+IFzVRwLxTTmudQJoRKPm6pnW JeDXDeeTpJxkegrVM8kD1e3srZDlGUu7c/tB3jYx7GrWs6622IkB0dFrH+iICRHI l1vlCQEWK4sNnrf5RPU70aLS3iq8REC+TcfCubZKPM0SYRaQXg/UNuZKgr6ewCFO TmYyxoZRLV2ULsfNt6v74O62j6ZnjIQ3bKj8w2rcagyqyRjmkc42usk9enmGAHwq MBOQryhTMQx82gaGP4wEfO+cfT4tLz7Z0aU8B+zfzPHmrn5oP/xZvl7nXNiHxyPL zjR/mrO067wsmtZxWV/u6t7xjxeRWGQnkUrEA2ikPob++7svQ== 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=1746856951; x=1746943351; bh=F 4VPq0UXIiTBFlS5tV83cIvcCtdmIP4u7KPAk/oIECk=; b=obU2em2mBEu+5Ne+N h86wbR0siSirMPtv2IQ2mV4mk+NH/HzrkTz3Csnb6F2sbcBiGajpxIlbQrr5KV/9 0daSWVHEoDWw82BM4LwA3OfQnhu1wLn6FUjIEsRPwZUuvrd/IYryqFCcvd/fVTX5 sChY6qtVZIpXrNbolaHBojXlhqLfatGpRyuJSn1XrMDJYUt1xqOlfkwsswNNuTTR kammCEcFsVVHhqXY3TFSoBDJvC9MyqDs70lmxNIS6Jga1+3Q7NHVzOwKpNgtSMh/ 28ouaaMv5ZkQtVsuFz+hgQ0skCWQrvD2euxo7V0bjNum9GgCKpGTMu5RVBg5KqyN +QBkA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvleegjeefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepofggfffhvffkjghfufgtgfesthejredtredt tdenucfhrhhomhepfdfnrghrrhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrh hfihgvlhguthgvtghhrdgtohhmqeenucggtffrrghtthgvrhhnpedugedvlefgueegheef jeetffduveeltefhfeegjeffffelgedttdevkeegkedugfenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlught vggthhdrtghomhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 69180B00069; Sat, 10 May 2025 02:02:31 -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: Tb59d627fb5f6e7a2 Date: Sat, 10 May 2025 01:02:10 -0500 To: "php internals" Message-ID: <86a379c0-7a62-4a12-82a4-202fafe5927e@app.fastmail.com> In-Reply-To: References: <5efa2f02-dd1d-4d59-ae07-c75f193b4096@app.fastmail.com> <92b7f1ea-900b-4438-bed7-3fd766bb2d61@rwec.co.uk> <7e2a3dea-aaaf-4427-b1b2-32c568af8b77@app.fastmail.com> <51df1d77-33ce-414e-b489-8a62f9768811@rwec.co.uk> <78cb31b7-ac23-4ee6-8317-5ba265db8de2@app.fastmail.com> Subject: Re: [PHP-DEV] [RFC] Pipe Operator (again) Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") Hello world. The discussion has been dormant for a while. For now, I'm going to proceed with the simple-callable approach to pipes, rather than Elixir-style auto-partialling. I have also added a discussion of a possible future iterator API built for pipes to the RFC, and another example using stream resources and a few utilities to build lazy, self-cleaning stream processing chains. It actually looks really nice, I think. :-) Neither change the design or implementation. Also, since Derick asked off-list, I am 90% certain that the current implementation will still allow Xdebug to "catch" on each step in a pipe chain, since at the opcode level it's just a bunch of function calls with anonymous intermediary values. And on the off chance it's not, I've been advised by other engine devs that the implementation is simple enough to tweak to make that work. So we're debug friendly. Baring any other feedback, I am going to open the vote Monday/Tuesday. --Larry Garfield