Re: Proposal for a new basic function: str_contains
| From: | Rowan Tommins | Date: | Mon, 17 Feb 2020 14:23:07 +0000 |
| Subject: | Re: Proposal for a new basic function: str_contains | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108649@lists.php.net to get a copy of this message | ||
On Mon, 17 Feb 2020 at 13:38, Pierre Joye <pierre.php@gmail.com> wrote:
>
> Btw, while some mbstring references I I mentioned, I do like the ICU search
> implementation as well.
>
>
> http://userguide.icu-project.org/collation/icu-string-search-service
>
> It handles a lot of cases based on locales.
>
That's a lovely example of why treating Unicode as a character encoding is
the wrong mindset.
I would love to see more people using ext/intl rather than ext/mbstring,
and more ICU features like this being included.
Regards,
--
Rowan Tommins
[IMSoP]