Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126313 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 EDF841A00BC for ; Thu, 6 Feb 2025 19:24:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1738869725; bh=dhkA3B+/4BXQhtJ8Fxul8gHNPytuDWXbPlwG9CD6DPU=; h=Date:From:To:In-Reply-To:References:Subject:From; b=Tg5cDiD4kS5BRAFs6B4U+jXCc+Ex58iIeTP2BzkPXZZsJk1WKXYzZUYwtjDwoCo65 mxEq/jjZz01CE/MeUMer/ypOmFFFefaGezjJhJzPVPmk+YIizU/73GQvMy4Yfbap07 YdJni5scbGVg2xS0/1LBA7j5uF0/9Y9YsmSwH2PKF3FDytplHBTicUmXrPwBmmt/Eo 0Kbbs2+R2pSNI6ZQDHF+a0SaiPRCCxTc5zu4SULAo3QmTY81Kpvr1FtB7/Y4n4LLW0 t7F0l8AeDwQcW5ozEoUZ5r5AWLOgSINxoYhj/ERIZzJNzHNI9Uec+9ZH5J/wW5mGft wl0ozBZUHesiw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0D6921801EE for ; Thu, 6 Feb 2025 19:22:05 +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: No X-Envelope-From: Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 6 Feb 2025 19:22:04 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id CBF912540185 for ; Thu, 6 Feb 2025 14:24:49 -0500 (EST) Received: from phl-imap-06 ([10.202.2.83]) by phl-compute-01.internal (MEProxy); Thu, 06 Feb 2025 14:24:49 -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=fm3; t=1738869889; x=1738956289; bh=DD8n0zeYpmWsuvArdsAh1 IdvXGOow1Qi5OOrBIhRvj0=; b=PCJ7YEtEsx921AJZTD+zucJg/c1bFsECkMS3v xpe6jLvhiygLX6D2WrmHYPn/J6d4mbQDtb22GuHFpZmb++Rx0R1j7V1x/vkHxTy9 qcrw8ezpvCflOr6SV7HmQZrQ46HM4t410iOzTqKwpG3L5Rd/ZnREmLl5HL9mZrHe 9IJZtf8YW2v5yx7fT9PWOROIabG2sUC7XaT/dzXu+yWFu/KLOfz//p3JQEr2xBi/ ExqwZPV4f7RC4+Uj/AO+TdOiUtxGHGAI5Vnmy++7aY/VjEYAey6SHLN2BGMwYzEj Y9H6+o9wJnkYo6/19D35xMGOnBXwZ4ydmSJbLEkLvQyiqKkHA== 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=1738869889; x=1738956289; bh=D D8n0zeYpmWsuvArdsAh1IdvXGOow1Qi5OOrBIhRvj0=; b=vigre+RNgRYxC4kx0 RAJ/E3T9cnga4AJQYPU2SnNlgy8WExt+Iake1AT/jWlocnIcgVPxQnjOa/niNcog MDVlZtXx3zzyo3VdnUCeMFyUDXSG3DvEDa7w2axhbmVPfFcQ9UXykZB/1e5BdgSU +5wmU29ew6csRWOkQY/gu9QPzXl3MrxKAwjMUAivqV0iOagI+pEbdmkTxoMl6E9Z Ikg4Tl7zJzGvtUAwodAIAkUx3/U5U9riC/Y0Zt9AmQ7fo6oTpAPoEjAwt/8iYcS0 EMzji0qsW5oO8PrwTtNWb95PfpJJtoBh6psmIM/Im/SFxruvEFQuL68Ae6XEow8W d8EBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvjedvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvkfgjfhfutgfgsehtjeertdertddt necuhfhrohhmpedfnfgrrhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfh hivghlughtvggthhdrtghomheqnecuggftrfgrthhtvghrnhepueevvdduhffffffhleeu hedvjeevgfelgeetgefftedufeelheegfedvheegleetnecuffhomhgrihhnpehphhhprd hnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep lhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgtphhtthhopedupd hmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhs rdhphhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 553E329C006F; Thu, 6 Feb 2025 14:24:49 -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 13:24:29 -0600 To: "php internals" Message-ID: <4eeed1bb-d039-4041-b399-056d7234bd91@app.fastmail.com> In-Reply-To: References: Subject: Re: [PHP-DEV] Pattern matching details questions Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") On Thu, Feb 6, 2025, at 3:05 AM, Valentin Udaltsov wrote: > Hi, Larry! > > First of all, I'm very excited about your Pattern Matching RFC and > looking forward to it. > >> Because PHP uses only an LL(1) parser > > Are there any plans to upgrade the parser to bypass these limitations? > I remember Nikita shared some thoughts on why this is not trivial in > https://wiki.php.net/rfc/arrow_functions_v2. Maybe something has > changed since then? > > -- > Valentin I'm not aware of any plans to change the parser. That would be a rather dramatic and invasive change. --Larry Garfield