rfc:mb_str_split
PHP RFC: mb_str_split
- Date: 2019-01-02
- Author: rumi, legale.legale@gmail.com
- Status: Implemented (in PHP 7.4)
- First Published at: https://wiki.php.net/rfc/mb_str_split
Introduction
mb_str_split is a function to perform string splitting to an array of defined size chunks.
Description
array mb_str_split (string $string [, integer $split_length = 1, string $encoding = mb_internal_encoding() ])
The function works through the libmbfl library and supports all libmbfl supported charsets just like other mbstring functions.
Usage example
Proposal
Include function into the existent mbstring extension.
Proposed PHP Version(s)
next PHP-7.x
RFC Impact
To Existing Extensions
mbstring
To Opcache
Opcache is not affected.
New Constants
No.
Open Issues
No.
Future Scope
No.
Proposed Voting Choices
This project requires 50%+1 majority. The voting period: from 2019-01-10 to 2019-01-20.
Patches and Tests
Implementation
- Was merged into master (PHP-7.4)
rfc/mb_str_split.txt · Last modified: 2019/02/12 16:53 by rumi