On 2025-02-05 09:49, Larry Garfield wrote: >
Besides, the ugly need go no further than a (bool)preg_match(...) cast - which is just as strict and is more explicit about what is actually being compared.Feature-wise, I have to say I'd keep it strict-always, as both our PRs implement it. Yes, that means preg_match() wouldn't be able to slot in transparently. I'm frankly OK with that; hopefully pattern matching can be extended to a better regex syntax anyway in the future.