Re: Pattern matching details questions

From: Date: Thu, 06 Feb 2025 19:24:29 +0000
Subject: Re: Pattern matching details questions
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-126313@lists.php.net to get a copy of this message
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

« previous php.internals (#126313) next »