[php-src] PR #18705: Create str_icontains PHP function
| From: | adamcable | Date: | Thu, 29 May 2025 20:00:03 +0000 |
| Subject: | [php-src] PR #18705: Create str_icontains PHP function | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31879@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18705
Author: adamcable
As a PHP developer of 20 years I'm somewhat accustomed to adding "i" into the
function name when I'm after a case-insensitive version. Therefore, I found it a bit odd I
couldn't do it with the new "str_contains" function, so have added a case-insensitive
version. Tests added too.
Assume this would need a RFC to be accepted.