note 105505 deleted from function.preg-split by cmb
| From: | cmb@php.net | Date: | Tue, 23 Aug 2016 13:38:10 +0000 |
| Subject: | note 105505 deleted from function.preg-split by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206378@lists.php.net to get a copy of this message | ||
Note Submitter: w o z 2 2 a t y a h o o d o t c o m
----
PREG_SPLIT_OFFSET_CAPTURE should be maintained for UTF-8 characters, because it produces wrong
results as if it is using strlen() internally, instead of using mb_strlen(), which is the right
one...