str_split
laravel-shift/factory-generator
Supported Versions: PHP 5, PHP 7, PHP 8
Convert a string to an array
<?php str_split
(
string $string
,
int $length
=
1
): array