mb_str_split
Astrotomic/php-twemoji
Supported Versions: PHP 7 >= 7.4.0, PHP 8
Given a multibyte string, return an array of its characters
<?php mb_str_split
(
string $string
,
int $length
=
1
, ?
string $encoding
=
null
): array