mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
1170981b33
Previously, when passed an empty string, and given an encoding which uses a variable number of bytes per character (and which doesn't have a 'character length table'), mb_str_split would return an array containing a single empty string, rather than an empty array. The ISO-2022 encodings are among those which were affected by this bug.