Re: [PHP-DEV] Pattern matching details questions

2025-02-03 Thread Rob Landers
On Tue, Feb 4, 2025, at 05:31, Larry Garfield wrote: > Hi folks. Ilija is still working on the implementation for the pattern > matching RFC, which we want to complete before proposing it officially in > case we run into implementation challenges. > > Such as these, on which we'd like feedbac

Re: [PHP-DEV] Empty subject in match and switch constructions

2025-02-03 Thread Dmitry Derepko
Hi, Larry! > On Feb 3, 2025, at 10:01 AM, Larry Garfield wrote: > > On Sun, Feb 2, 2025, at 7:40 AM, Ilija Tovilo wrote: >> Hi Dmitrii >> >> On Sun, Feb 2, 2025 at 1:05 PM Dmitry Derepko wrote: >> >> https://wiki.php.net/rfc/short-match >> https://externals.io/message/112496 > > Hi, author o

[PHP-DEV] Pattern matching details questions

2025-02-03 Thread Larry Garfield
Hi folks. Ilija is still working on the implementation for the pattern matching RFC, which we want to complete before proposing it officially in case we run into implementation challenges. Such as these, on which we'd like feedback on how to proceed. ## Object property patterns Consider this

Re: [PHP-DEV] Re: Discussion: making continue and break into an expression

2025-02-03 Thread Rob Landers
On Mon, Feb 3, 2025, at 19:44, Rob Landers wrote: > On Sun, Feb 2, 2025, at 14:35, Dmitry Derepko wrote: >> >>> On Jan 25, 2024, at 12:16 PM, Robert Landers >>> wrote: >>> >>> Hello internals, >>> >>> Now that throwing is an expression, it allows for some very concise >>> programming. What are

Re: [PHP-DEV] Re: Discussion: making continue and break into an expression

2025-02-03 Thread Rob Landers
On Sun, Feb 2, 2025, at 14:35, Dmitry Derepko wrote: > >> On Jan 25, 2024, at 12:16 PM, Robert Landers >> wrote: >> >> Hello internals, >> >> Now that throwing is an expression, it allows for some very concise >> programming. What are your thoughts on making a break/continue into an >> express