mb_str_split

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
<?php     public static function reverse(string $value)

    {

        return implode(array_reverse(mb_str_split($value)));

    }
<?php     public function split($pattern, $limit = -1, $flags = 0)

    {

        if (filter_var($pattern, FILTER_VALIDATE_INT) !== false) {

            return collect(mb_str_split($this->value, $pattern));

        }



        $segments = preg_split($pattern, $this->value, $limit, $flags);