Re: [RFC] str_icontains
| From: | Jordi Boggiano | Date: | Mon, 23 Jun 2025 14:57:48 +0000 |
| Subject: | Re: [RFC] str_icontains | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127739@lists.php.net to get a copy of this message | ||
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/18705Just 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