Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129563 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 F2A211A00BC for ; Fri, 5 Dec 2025 15:34:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1764948904; bh=bBN77i1SLKTT/2LKdaBQDS3cF+xtUfgQbhLsijb9hw4=; h=Date:From:To:In-Reply-To:References:Subject:From; b=lq1e+eT2B0rMKA5AGj16N1zwbNkXGYgYlxUzDB8twEeNQN69SfZJWjANhBQHPtuNA NbSFAThl5k7oEfgOaT47s2ZQ5bRHC3MtsmsURkV6LLgqeAgZ/nTv+03wWb9pg9SMod XaVcZiA8uPeDrRV5JkqKEtjDMX5nMuy4mMg/A4+pIPMh8CUoY3Lb8sZSWV38Ca84pS ryodrUKTd2dSFB67OojYLVgE2Y4aqUwnF9vA9B32nirR2K6vZEIWR42YpjCBiHBrm8 muLs3i+yO6Q6JkLjKF47PAM46jw6cGumLbvx1z2e2+sR8psgevIxnoqStbR0YrW/Ri aA+aFPdSiOAIQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D275C18038C for ; Fri, 5 Dec 2025 15:35:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,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.1 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158]) (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, 5 Dec 2025 15:35:03 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 307AE14001C4 for ; Fri, 5 Dec 2025 10:34:58 -0500 (EST) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-04.internal (MEProxy); Fri, 05 Dec 2025 10:34:58 -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:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm1; t=1764948898; x=1765035298; bh=bBN77i1SLKTT/2LKdaBQD S3cF+xtUfgQbhLsijb9hw4=; b=GutgLpcS6LcTxy8/bGco37Ec8YKmj17clT5fR 96hvfZkgzO312So1VzpCdBJpu+l6KPtytHi98PztiPe7Ug2Le+30OVqlZG5V6vq5 s1wSXa+Qj/0ge6bmmXiWTBFjfPX0DEH6rXrC73bHPHeY3mSxbpKv0hiXfxEkCl80 l46extcTpPNiYlAbYkkhSjijhrjZf6vWXqpilfw5hhCEacUHyA1eaCCrip44dm6Q DTt48Vo0tifwOoATiD+1FgasPw+KA41dtp2WDsax0xsdCBnnULAtybcCNHa9IHTB 1jqsDSBXrqU91jU0bNSNOr+7wg35LXFMd8HOV56ozJ8BmTwbw== 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=fm1; t=1764948898; x=1765035298; bh=b BN77i1SLKTT/2LKdaBQDS3cF+xtUfgQbhLsijb9hw4=; b=EIsvieNydRYpYnMoH +CM8opLmOqrnq8PjB8gpPgdFSw+B+RZ8osmoaTFAarz8BiPlm8SkyW5pRUtkGwtk 9jl4F8l/u4gZ+d/mY5EX7xGAGM5uYEXXHI8QwlTNThhxb5kZJTPG2Ow4T5VTKQX8 OoYqFve3ujWl3XnFHN1CoKR1Xx3kExXEo/FjkMgBxlaRI1iIjS4vhda6rxEG3jhA tnGx3ABJLWsAZ1lP6x7h4y8QH/k+u+HFWKc+7Db4VDYcuWrRorGbvEDSbZr1bTGK JpBOyMrF5C4vPPU1THHgyGOP5MZ+tPII9v1DIGmkE9aKbVZ5On7ouQkLtbxhv7No eesEg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdekjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epofggfffhvffkjghfufgtgfesthhqredtredtjeenucfhrhhomhepfdfnrghrrhihucfi rghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmqeenuc ggtffrrghtthgvrhhnpeffieeivdfhvdeguddttdegteeiueegvefhteehfeeffeetudei tdehtdegjeeuieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomhdpnhgspghrtghpthht ohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrhhnrghlsheslh hishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id C918718C004E; Fri, 5 Dec 2025 10:34:57 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: A-ULtKthIgWs Date: Fri, 05 Dec 2025 09:34:37 -0600 To: "php internals" Message-ID: <41743f4e-780d-4f84-beea-5e6296d05308@app.fastmail.com> In-Reply-To: References: Subject: Re: [PHP-DEV] Re: [RFC] Pattern Matching Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: larry@garfieldtech.com ("Larry Garfield") On Fri, Dec 5, 2025, at 9:10 AM, Zebulan wrote: > Some typos I spotted in the RFC: > > "Structure patterns" -> "Object pattern" section: `color: green`=E2=80= =8B=20 > should be `color: 'green'`=E2=80=8B (twice) > > "Future Scope" -> "Regex pattern" section: "idiation" should be "ideat= ion" > > Also, to better justify the syntax for variable pinning, perhaps it=20 > might be worth mentioning that the caret character kinda looks like a=20 > pin? I'm not entirely sold on the syntax myself, but I think that=20 > visual association makes it easier to mentally parse. > > Finally, in the research document, I see there was some confusion abou= t=20 > the C# syntax for variable binding. I think the idea is that the=20 > right-hand side looks like a variable declaration, so since `int foo`=E2= =80=8B=20 > is how you define an integer variable named `foo`=E2=80=8B, therefore = it makes=20 > sense to reuse the syntax in `bar is int foo`=E2=80=8B. Thanks, typos fixed! --Larry Garfield