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 built a basic ci version @
https://github.com/php/php-src/pull/18705

I appreciate that there may be a bit of negative reaction about adding such
a basic function that can so easily be written in user-land. But for me, as
an average PHP coder, I think it's useful to try and fill in gaps which can
cause head-scratching.

Thanks,
Adam

Reply via email to