Hi On 9/26/26 06:03, Osama Aldemeery wrote:
I really like the idea, but I am not quite sure it fully replaces the `PREG_THROW_ON_ERROR` flag.Compilation errors are only half of the error story...the other half happens at match time, on patterns that compiled just fine.
Using the class as the pattern could just imply the PREG_THROW_ON_ERROR behavior.
Best regards Tim Düsterhus
