On 15.06.2025 22:12, Adam Cable wrote:
I'd like to present my first RFC - str_icontains, a case-insensitive friend of str_contains

RFC: https://wiki.php.net/rfc/str_icontains
PR (including tests): https://github.com/php/php-src/pull/18705

Just a +1 from my side. Looks good, useful and I've definitely caught myself skipping the strtolower out of laziness and "it'll probably be fine" in the past :)

Best,
Jordi

Reply via email to