[php-src] PR #13580: [PoC][RFC][WIP] grapheme_str_split function
| From: | youkidearitai | Date: | Sat, 02 Mar 2024 23:30:37 +0000 |
| Subject: | [php-src] PR #13580: [PoC][RFC][WIP] grapheme_str_split function | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25223@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13580
Author: youkidearitai
I noticed that PHP does not have a grapheme cluster based str_split function. So I created the
grapheme_str_split function.
(PCRE can handle grapheme cluster, It can be processed with
\X.)
This feature will allow you to correctly handle emoji and Variation Selectors.
I would like to discuss it internal and submit an RFC.