note 84840 deleted from function.str-split by crell
| From: | crell@php.net | Date: | Wed, 29 Jun 2022 18:30:28 +0000 |
| Subject: | note 84840 deleted from function.str-split by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218689@lists.php.net to get a copy of this message | ||
Note Submitter: ricordati at web dot de
----
To split unicode text, preg_match_all('/./u', $text, $array); seems faster for large
strings than the use of preg_split('//u', $text); suggested by "edgaras dot
janusauskas at gmail dot com" below.